34 references to Border3DSide
System.Windows.Forms (28)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
322
ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.Width, item.Height), item.BorderStyle, (
Border3DSide
)item.BorderSides);
System\Windows\Forms\Controls\ToolStrips\ToolStripStatusLabelBorderSides.cs (8)
13
All =
Border3DSide
.Top |
Border3DSide
.Bottom |
Border3DSide
.Left |
Border3DSide
.Right, // not mapped to Border3DSide.All because we NEVER want to fill the middle.
14
Bottom =
Border3DSide
.Bottom,
15
Left =
Border3DSide
.Left,
16
Right =
Border3DSide
.Right,
17
Top =
Border3DSide
.Top,
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
499
ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.Width - 1, item.Height - 1), item.BorderStyle, (
Border3DSide
)item.BorderSides);
System\Windows\Forms\Rendering\ControlPaint.cs (18)
981
Border3DSide
.Left |
Border3DSide
.Top |
Border3DSide
.Right |
Border3DSide
.Bottom);
991
Border3DSide
.Left |
Border3DSide
.Top |
Border3DSide
.Right |
Border3DSide
.Bottom);
997
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle, Border3DStyle style,
Border3DSide
sides)
1008
Border3DSide
.Left |
Border3DSide
.Top |
Border3DSide
.Right |
Border3DSide
.Bottom);
1017
Border3DSide
.Left |
Border3DSide
.Top |
Border3DSide
.Right |
Border3DSide
.Bottom);
1023
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height, Border3DStyle style,
Border3DSide
sides)
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
737
foreach (
Border3DSide
side in Enum.GetValues(typeof(
Border3DSide
)))
751
public void ControlPaint_DrawBorder3D_InvokeGraphicsRectangleBorder3DStyleBorder3DSide_Success(Rectangle rectangle, Border3DStyle style,
Border3DSide
side)
787
public void ControlPaint_DrawBorder3D_InvokeGraphicsIntIntIntIntBorder3DStyleBorder3DSide_Success(Rectangle rectangle, Border3DStyle style,
Border3DSide
side)
804
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawBorder3D(null, new Rectangle(1, 2, 3, 4), style,
Border3DSide
.All));
807
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawBorder3D(null, 1, 2, 3, 4, style,
Border3DSide
.All));