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