System.Windows.Forms.Border3DStyle Enumeration

Specifies the style of a three-dimensional border.

Syntax

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

Remarks

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

Members

Member NameDescription
Adjust

The border is drawn outside the specified rectangle, preserving the dimensions of the rectangle for drawing.

Bump

The inner and outer edges of the border have a raised appearance.

Etched

The inner and outer edges of the border have an etched appearance.

Flat

The border has no three-dimensional effects.

Raised

The border has raised inner and outer edges.

RaisedInner

The border has a raised inner edge and no outer edge.

RaisedOuter

The border has a raised outer edge and no inner edge.

Sunken

The border has sunken inner and outer edges.

SunkenInner

The border has a sunken inner edge and no outer edge.

SunkenOuter

The border has a sunken outer edge and no inner edge.

Requirements

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