32 references to Border3DStyle
System.Windows.Forms (17)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19321
ControlPaint.DrawBorder3D(g, bounds,
Border3DStyle
.Sunken);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1357
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle,
Border3DStyle
.SunkenOuter);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabel.cs (4)
20
private
Border3DStyle
_borderStyle =
Border3DStyle
.Flat;
83
[DefaultValue(
Border3DStyle
.Flat)]
86
public
Border3DStyle
BorderStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
255
ControlPaint.DrawBorder3D(e.Graphics, bounds,
Border3DStyle
.Raised);
System\Windows\Forms\Panels\Panel.cs (1)
234
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle,
Border3DStyle
.Sunken);
System\Windows\Forms\Rendering\ControlPaint.cs (9)
391
internal static void PrintBorder(Graphics graphics, Rectangle bounds, BorderStyle style,
Border3DStyle
b3dStyle)
977
Border3DStyle
.Etched,
983
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style)
994
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style, Border3DSide sides)
1004
Border3DStyle
.Etched,
1010
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style)
1020
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style, Border3DSide sides)
1032
if (flags.HasFlag((DRAW_EDGE_FLAGS)
Border3DStyle
.Adjust))
1039
flags &= ~(DRAW_EDGE_FLAGS)
Border3DStyle
.Adjust;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
185
ControlPaint.DrawBorder3D(e.Graphics, rc,
Border3DStyle
.Sunken);
System.Windows.Forms.Tests (14)
System\Windows\Forms\ControlPaintTests.cs (11)
712
foreach (
Border3DStyle
style in Enum.GetValues(typeof(
Border3DStyle
)))
725
public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyle_Success(Rectangle rectangle,
Border3DStyle
style)
737
foreach (
Border3DStyle
style in Enum.GetValues(typeof(
Border3DStyle
)))
753
public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyleBorder3DSide_Success(Rectangle rectangle,
Border3DStyle
style, Border3DSide side)
777
public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleSuccess(Rectangle rectangle,
Border3DStyle
style)
789
public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleBorder3DSide_Success(Rectangle rectangle,
Border3DStyle
style, Border3DSide side)
800
[EnumData<
Border3DStyle
>]
801
[InvalidEnumData<
Border3DStyle
>]
802
public void ControlPaint_DrawBorder3D_NullGraphics_ThrowsArgumentNullException(
Border3DStyle
style)
System\Windows\Forms\ToolStripStatusLabelTests.cs (3)
93
[InlineData(
Border3DStyle
.Raised)]
94
[InlineData(
Border3DStyle
.Sunken)]
95
public void ToolStripStatusLabel_BorderStyleProperty_SetAndGet_ReturnsExpected(
Border3DStyle
borderStyle)