ListBox.BorderStyle 属性

定义

获取或设置在 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.

例外

该值不是 BorderStyle 值之一。The value is not one of the BorderStyle values.

适用于

另请参阅