32 references to Border3DStyle
System.Windows.Forms (17)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19327
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)
394
internal static void PrintBorder(Graphics graphics, Rectangle bounds, BorderStyle style,
Border3DStyle
b3dStyle)
980
Border3DStyle
.Etched,
986
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style)
997
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style, Border3DSide sides)
1007
Border3DStyle
.Etched,
1013
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style)
1023
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style, Border3DSide sides)
1035
if (flags.HasFlag((DRAW_EDGE_FLAGS)
Border3DStyle
.Adjust))
1042
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)
710
foreach (
Border3DStyle
style in Enum.GetValues(typeof(
Border3DStyle
)))
723
public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyle_Success(Rectangle rectangle,
Border3DStyle
style)
735
foreach (
Border3DStyle
style in Enum.GetValues(typeof(
Border3DStyle
)))
751
public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyleBorder3DSide_Success(Rectangle rectangle,
Border3DStyle
style, Border3DSide side)
775
public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleSuccess(Rectangle rectangle,
Border3DStyle
style)
787
public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleBorder3DSide_Success(Rectangle rectangle,
Border3DStyle
style, Border3DSide side)
798
[EnumData<
Border3DStyle
>]
799
[InvalidEnumData<
Border3DStyle
>]
800
public void ControlPaint_DrawBorder3D_NullGraphics_ThrowsArgumentNullException(
Border3DStyle
style)
System\Windows\Forms\ToolStripStatusLabelTests.cs (3)
95
[InlineData(
Border3DStyle
.Raised)]
96
[InlineData(
Border3DStyle
.Sunken)]
97
public void ToolStripStatusLabel_BorderStyleProperty_SetAndGet_ReturnsExpected(
Border3DStyle
borderStyle)