20 writes to DashStyle
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (5)
595
pen.
DashStyle
= dashStyle;
613
pen.
DashStyle
= DashStyle.Dash;
614
pen.
DashStyle
= DashStyle.Custom;
627
Assert.ThrowsAny<ArgumentException>(() => pen.
DashStyle
= dashStyle);
638
AssertExtensions.Throws<ArgumentException>(null, () => pen.
DashStyle
= DashStyle.Dash);
System\Drawing\SystemPensTest.cs (1)
68
AssertExtensions.Throws<ArgumentException>(null, () => pen.
DashStyle
= DashStyle.Custom);
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
517
DashStyle
= DashStyle.Solid
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
294
DashStyle
= DashStyle.Dot
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
59
DashStyle
= DashStyle.Dot
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\PanelDesigner.cs (1)
78
DashStyle
= DashStyle.Dash
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
50
DashStyle
= DashStyle.Dash
System\Windows\Forms\Design\SplitterDesigner.cs (1)
34
pen.
DashStyle
= DashStyle.Dash;
System\Windows\Forms\Design\SplitterPanelDesigner.cs (2)
152
DashStyle
= DashStyle.Dash
170
DashStyle
= DashStyle.Dash
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
927
p.
DashStyle
= DashStyle.Dot;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
52
DashStyle
= DashStyle.Dash
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1931
borderPen.
DashStyle
= DashStyle.Dot;
1940
borderPen.
DashStyle
= DashStyle.Dot;
System.Windows.Forms.Primitives (2)
System\Windows\Forms\SystemDrawingExtensions.cs (2)
105
? new Pen(Color.FromArgb(color.ToArgb())) {
DashStyle
= dashStyle }
106
: new Pen(color) {
DashStyle
= dashStyle };
7 references to DashStyle
System.Drawing.Common.Tests (7)
System\Drawing\PenTests.cs (7)
217
Assert.Equal(pen.
DashStyle
, clone.
DashStyle
);
538
Assert.Equal(DashStyle.Custom, pen.
DashStyle
);
596
Assert.Equal(dashStyle, pen.
DashStyle
);
616
Assert.Equal(DashStyle.Custom, pen.
DashStyle
);
637
AssertExtensions.Throws<ArgumentException>(null, () => pen.
DashStyle
);
1216
Assert.Equal(DashStyle.Solid, pen.
DashStyle
);