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 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
InvalidEnumArgumentException

The value is not one of the BorderStyle values.

.NET Framework
Available since 1.1
Return to top
Show: