ListBox::BorderStyle Property
.NET Framework (current version)
Gets or sets the type of border that is drawn around the ListBox.
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::BorderStyleOne 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
Available since 1.1
Show: