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

Switch View :
ScriptFree
DropDownList.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 (Declaration)
Public Overrides Property BorderWidth As Unit
Visual Basic (Usage)
Dim instance As DropDownList
Dim value As Unit

value = instance.BorderWidth

instance.BorderWidth = value
C#
public override Unit BorderWidth { get; set; }
C++
public:
virtual property Unit BorderWidth {
	Unit get () override;
	void set (Unit value) override;
}
J#
/** @property */
public Unit get_BorderWidth ()

/** @property */
public void set_BorderWidth (Unit value)

JScript
public override function get BorderWidth () : Unit

public override function set BorderWidth (value : Unit)

XAML
Not applicable.

Property Value

A Unit that represents the border width for the control.
Remarks

NoteNote:

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

Platforms

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
See Also