ListBox.BorderStyle ListBox.BorderStyle ListBox.BorderStyle ListBox.BorderStyle Property

定義

取得或設定 ListBox 周圍所繪製的框線類型。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

屬性值

其中一個 BorderStyle 值。One of the BorderStyle values. 預設值為 Fixed3DThe default is Fixed3D.

例外狀況

適用於

另請參閱