ListBox.BorderStyle Property


Gets or sets the type of border that is drawn around the ListBox.

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

Public Property BorderStyle As BorderStyle

Property Value

Type: System.Windows.Forms.BorderStyle

One of the BorderStyle values. The default is Fixed3D.

Exception Condition

The value is not one of the BorderStyle values.

.NET Framework
Available since 1.1
Return to top