System.Windows.Forms.Border3DSide Enumeration

Specifies the sides of a rectangle to apply a three-dimensional border to.

Syntax

[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum Border3DSide

Remarks

Use the members of this enumeration with the ControlPaint.DrawBorder3D(System.Drawing.Graphics, System.Drawing.Rectangle) method of the System.Windows.Forms.ControlPaint class.

Members

Member NameDescription
All

A three-dimensional border on all four sides of the rectangle. The middle of the rectangle is filled with the color defined for three-dimensional controls.

Bottom

A three-dimensional border on the bottom side of the rectangle.

Left

A three-dimensional border on the left edge of the rectangle.

Middle

The interior of the rectangle is filled with the color defined for three-dimensional controls instead of the background color for the form.

Right

A three-dimensional border on the right side of the rectangle.

Top

A three-dimensional border on the top edge of the rectangle.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0