ButtonBorderStyle Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the border style for a button control.

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

public enum ButtonBorderStyle

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.

This enumeration is used by ControlPaint.DrawBorder.

DrawBorder updates the display of the button when controls are initially drawn or refreshed.

.NET Framework
Available since 1.1
Return to top
Show: