ListBox.BorderWidth Property (System.Web.UI.WebControls)

Switch View :
ScriptFree
.NET Framework Class Library
ListBox.BorderWidth Property

Gets or sets the border width for the control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic
<BrowsableAttribute(False)> _
Public Overrides Property BorderWidth As Unit
C#
[BrowsableAttribute(false)]
public override Unit BorderWidth { get; set; }
Visual C++
[BrowsableAttribute(false)]
public:
virtual property Unit BorderWidth {
	Unit get () override;
	void set (Unit value) override;
}
F#
[<BrowsableAttribute(false)>]
abstract BorderWidth : Unit with get, set
[<BrowsableAttribute(false)>]
override BorderWidth : Unit with get, set
ASP.NET
<asp:ListBox BorderWidth="Unit" />

Property Value

Type: System.Web.UI.WebControls.Unit
A Unit object that represents the border width of the control.
Remarks

Note Note

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

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference

Other Resources