ListBox::BorderStyle Property


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

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)

property BorderStyle BorderStyle {
	BorderStyle get();
	void set(BorderStyle value);

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