39 references to Border3DStyle
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ControlPaint.cs (10)
428
internal static void PrintBorder(Graphics graphics, Rectangle bounds, BorderStyle style,
Border3DStyle
b3dStyle) {
896
DrawBorder3D(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height,
Border3DStyle
.Etched,
905
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style) {
916
public static void DrawBorder3D(Graphics graphics, Rectangle rectangle,
Border3DStyle
style, Border3DSide sides) {
926
DrawBorder3D(graphics, x, y, width, height,
Border3DStyle
.Etched,
935
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style) {
946
public static void DrawBorder3D(Graphics graphics, int x, int y, int width, int height,
Border3DStyle
style, Border3DSide sides) {
963
if ((flags & (int)
Border3DStyle
.Adjust) == (int)
Border3DStyle
.Adjust) {
969
flags &= ~((int)
Border3DStyle
.Adjust);
winforms\Managed\System\WinForms\DataGrid.cs (5)
7133
ControlPaint.DrawBorder3D(g, boundingRect,
Border3DStyle
.RaisedInner);
7266
ControlPaint.DrawBorder3D(g, textBounds,
Border3DStyle
.RaisedInner);
7293
Border3DStyle
style =
Border3DStyle
.Sunken;
7344
ControlPaint.DrawBorder3D(g, layout.TopLeftHeader,
Border3DStyle
.RaisedInner);
winforms\Managed\System\WinForms\DataGridCaption.cs (4)
512
backPressed ?
Border3DStyle
.SunkenInner :
Border3DStyle
.RaisedInner);
530
downPressed ?
Border3DStyle
.SunkenInner :
Border3DStyle
.RaisedInner);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
592
ControlPaint.DrawBorder3D(g, insideBounds,
Border3DStyle
.RaisedInner);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
19873
ControlPaint.DrawBorder3D(g, bounds,
Border3DStyle
.Sunken);
winforms\Managed\System\WinForms\Label.cs (1)
1624
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle,
Border3DStyle
.SunkenOuter);
winforms\Managed\System\WinForms\Panel.cs (1)
296
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size), BorderStyle,
Border3DStyle
.Sunken);
winforms\Managed\System\WinForms\ToolStripStatusLabel.cs (15)
33
private
Border3DStyle
borderStyle =
Border3DStyle
.Flat;
101
DefaultValue(
Border3DStyle
.Flat),
105
public
Border3DStyle
BorderStyle {
112
(int)
Border3DStyle
.Adjust,
113
(int)
Border3DStyle
.Bump,
114
(int)
Border3DStyle
.Etched,
115
(int)
Border3DStyle
.Flat,
116
(int)
Border3DStyle
.Raised,
117
(int)
Border3DStyle
.RaisedInner,
118
(int)
Border3DStyle
.RaisedOuter,
119
(int)
Border3DStyle
.Sunken,
120
(int)
Border3DStyle
.SunkenInner,
121
(int)
Border3DStyle
.SunkenOuter
123
throw new InvalidEnumArgumentException("value", (int)value, typeof(
Border3DStyle
));
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
236
ControlPaint.DrawBorder3D(e.Graphics, bounds,
Border3DStyle
.Raised);