Border3DSide Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
Left 1

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

Top 2

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

Right 4

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

Bottom 8

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

Middle 2048

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

All 2063

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.

Remarks

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

Applies to

Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also