ListBox.BorderStyle Property

Definition

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

public:
 property System::Windows::Forms::BorderStyle BorderStyle { System::Windows::Forms::BorderStyle get(); void set(System::Windows::Forms::BorderStyle value); };
public System.Windows.Forms.BorderStyle BorderStyle { get; set; }
member this.BorderStyle : System.Windows.Forms.BorderStyle with get, set
Public Property BorderStyle As BorderStyle

Property Value

One of the BorderStyle values. The default is Fixed3D.

Exceptions

The value is not one of the BorderStyle values.

Applies to

See also