System.Windows.Forms.ButtonBorderStyle Enumeration

Specifies the border style for a button control.

Syntax

public enum ButtonBorderStyle

Remarks

This enumeration is used by ControlPaint.DrawBorder(System.Drawing.Graphics, System.Drawing.Rectangle, System.Drawing.Color, ButtonBorderStyle).

ControlPaint.DrawBorder(System.Drawing.Graphics, System.Drawing.Rectangle, System.Drawing.Color, ButtonBorderStyle) updates the display of the button when controls are initially drawn or refreshed.

Members

Member NameDescription
Dashed

A dashed border.

Dotted

A dotted-line border.

Inset

A sunken border.

None

No border.

Outset

A raised border.

Solid

A solid border.

Requirements

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