线条颜色,线条样式,线宽组合框

时间:2012-05-29 17:28:29

标签: c# winforms user-interface

我应该使用什么样的控件来开发这样的屏幕 图片框?组合框与线型?

line style selection dialog

1 个答案:

答案 0 :(得分:-1)

        <Rectangle Stroke="Black" Margin="5" Width="80" Height="4" StrokeDashArray="4 1 1 3" StrokeThickness="2" StrokeDashOffset="2"></Rectangle>
        <Rectangle Stroke="Black" Margin="5" Width="80" Height="4" StrokeDashArray="4 3" StrokeThickness="2" StrokeDashOffset="2"></Rectangle>
        <Rectangle Stroke="Black" Margin="5" Width="80" Height="4" StrokeDashArray="4 6" StrokeThickness="2" StrokeDashOffset="2"></Rectangle>
        <Rectangle Stroke="Black" Margin="5" Width="80"  Height="4" StrokeDashArray="4 8" StrokeThickness="2" StrokeDashOffset="2"></Rectangle>


    </ComboBox>