ערוך

שתף באמצעות


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; }
public System.Web.UI.WebControls.Unit Width { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Width : System.Web.UI.WebControls.Unit with 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.

Attributes

Exceptions

The Value property of the Unit is negative.

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