This documentation is archived and is not being maintained.

ListBox.BorderStyle Property

Gets or sets the border style of the control.

[Visual Basic]
Overrides Public Property BorderStyle As BorderStyle
[C#]
public override BorderStyle BorderStyle {get; set;}
[C++]
public: __property BorderStyle get_BorderStyle();
public: __property void set_BorderStyle(BorderStyle);
[JScript]
public override function get BorderStyle() : BorderStyle;
public override function set BorderStyle(BorderStyle);

Property Value

One of the BorderStyle values.

Remarks

Note   The BorderStyle property is inherited from the WebControl class and is not applicable to the ListBox control.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ListBox Class | ListBox Members | System.Web.UI.WebControls Namespace

Show: