ListBox.BorderStyle 屬性

定義

取得或設定 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

其中一個 BorderStyle 值。 預設為 Fixed3D

例外狀況

該值不是其中一個 BorderStyle 值。

適用於

另請參閱