Style.Width Style.Width Style.Width Style.Width Property

Definition

Gets or sets the width of the Web server control.

public:
 property System::Web::UI::WebControls::Unit Width { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.WebControls.Unit Width { get; set; }
member this.Width : System.Web.UI.WebControls.Unit with get, set
Public Property Width As Unit

Property Value

A Unit that represents the width of the Web server control. The default is Empty, which indicates that this property is not set.

Exceptions

Remarks

Use the Width property to specify or determine the width of the Web server control. This property is set with a Unit.

Applies to

See also