43 references to DashStyle
System.Drawing (1)
System.Drawing.cs (1)
29[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.DashStyle))]
System.Drawing.Common (10)
GlobalUsings.cs (1)
23global using DashStyle = System.Drawing.Drawing2D.DashStyle;
System\Drawing\Pen.cs (9)
650public DashStyle DashStyle 654DashStyle dashStyle; 661if (value is < DashStyle.Solid or > DashStyle.Custom) 663throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(DashStyle)); 676if (value == DashStyle.Custom) 681if (value != DashStyle.Solid) 751else if (DashStyle == DashStyle.Solid && !_dashStyleWasOrIsNotSolid) 757else if (DashStyle == DashStyle.Solid)
System.Windows.Forms (21)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
79DashStyle = DashStyle.Dot
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\Rendering\ControlPaint.cs (17)
377private static DashStyle BorderStyleToDashStyle(ButtonBorderStyle borderStyle) 382return DashStyle.Dot; 384return DashStyle.Dash; 386return DashStyle.Solid; 389return DashStyle.Solid; 763ButtonBorderStyle.Dotted => DashStyle.Dot, 764ButtonBorderStyle.Dashed => DashStyle.Dash, 765_ => DashStyle.Solid, 822ButtonBorderStyle.Dotted => DashStyle.Dot, 823ButtonBorderStyle.Dashed => DashStyle.Dash, 824_ => DashStyle.Solid, 886ButtonBorderStyle.Dotted => DashStyle.Dot, 887ButtonBorderStyle.Dashed => DashStyle.Dash, 888_ => DashStyle.Solid, 960ButtonBorderStyle.Dotted => DashStyle.Dot, 961ButtonBorderStyle.Dashed => DashStyle.Dash, 962_ => DashStyle.Solid,
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)
915p.DashStyle = DashStyle.Dot;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
52DashStyle = DashStyle.Dash
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1883borderPen.DashStyle = DashStyle.Dot; 1892borderPen.DashStyle = DashStyle.Dot;
System.Windows.Forms.Primitives (2)
System\Windows\Forms\SystemDrawingExtensions.cs (2)
94internal static Pen CreateStaticPen(this Color color, DashStyle dashStyle) 96if (dashStyle == DashStyle.Solid)