Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Border3DSide Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
<ComVisible(True)>
Public Enum Border3DSide
[C#]
[Flags]
[Serializable]
[ComVisible(true)]
public enum Border3DSide
[C++]
[Flags]
[Serializable]
[ComVisible(true)]
__value public enum Border3DSide
[JScript]
public
   Flags
 Serializable
 ComVisible(true)
enum Border3DSide

Remarks

Use the members of this enumeration with the DrawBorder3D method of the ControlPaint class.

Members

Member name Description Value
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. 2063
Bottom A three-dimensional border on the bottom side of the rectangle. 8
Left A three-dimensional border on the left edge of the rectangle. 1
Middle The interior of the rectangle is filled with the color defined for three-dimensional controls instead of the background color for the form. 2048
Right A three-dimensional border on the right side of the rectangle. 4
Top A three-dimensional border on the top edge of the rectangle. 2

Requirements

Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

System.Windows.Forms Namespace | DrawBorder3D

Show:
© 2015 Microsoft