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