32 references to Border3DStyle
System.Windows.Forms (17)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19754ControlPaint.DrawBorder3D(g, bounds, Border3DStyle.Sunken);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1365ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.SunkenOuter);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (4)
20private Border3DStyle _borderStyle = Border3DStyle.Flat; 83[DefaultValue(Border3DStyle.Flat)] 86public Border3DStyle BorderStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
255ControlPaint.DrawBorder3D(e.Graphics, bounds, Border3DStyle.Raised);
System\Windows\Forms\Panels\Panel.cs (1)
234ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle, Border3DStyle.Sunken);
System\Windows\Forms\Rendering\ControlPaint.cs (9)
394internal static void PrintBorder(Graphics graphics, Rectangle bounds, BorderStyle style, Border3DStyle b3dStyle) 980Border3DStyle.Etched, 986public static void DrawBorder3D(Graphics graphics, Rectangle rectangle, Border3DStyle style) 997public static void DrawBorder3D(Graphics graphics, Rectangle rectangle, Border3DStyle style, Border3DSide sides) 1007Border3DStyle.Etched, 1013public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height, Border3DStyle style) 1023public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height, Border3DStyle style, Border3DSide sides) 1035if (flags.HasFlag((DRAW_EDGE_FLAGS)Border3DStyle.Adjust)) 1042flags &= ~(DRAW_EDGE_FLAGS)Border3DStyle.Adjust;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
185ControlPaint.DrawBorder3D(e.Graphics, rc, Border3DStyle.Sunken);
System.Windows.Forms.Tests (14)
System\Windows\Forms\ControlPaintTests.cs (11)
710foreach (Border3DStyle style in Enum.GetValues(typeof(Border3DStyle))) 723public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyle_Success(Rectangle rectangle, Border3DStyle style) 735foreach (Border3DStyle style in Enum.GetValues(typeof(Border3DStyle))) 751public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyleBorder3DSide_Success(Rectangle rectangle, Border3DStyle style, Border3DSide side) 775public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleSuccess(Rectangle rectangle, Border3DStyle style) 787public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleBorder3DSide_Success(Rectangle rectangle, Border3DStyle style, Border3DSide side) 798[EnumData<Border3DStyle>] 799[InvalidEnumData<Border3DStyle>] 800public void ControlPaint_DrawBorder3D_NullGraphics_ThrowsArgumentNullException(Border3DStyle style)
System\Windows\Forms\ToolStripStatusLabelTests.cs (3)
103[InlineData(Border3DStyle.Raised)] 104[InlineData(Border3DStyle.Sunken)] 105public void ToolStripStatusLabel_BorderStyleProperty_SetAndGet_ReturnsExpected(Border3DStyle borderStyle)