GenericWebPart.Width Property

Use BaseTrue

Gets or sets the width (in pixels) of the control.

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

public override Unit Width { get; set; }

Property Value

Type: System.Web.UI.WebControls.Unit

A Unit that indicates the width of the control.

This property overrides the base property so that you can get or set the width on the child control as if it were a true WebPart control.

.NET Framework
Available since 2.0
Return to top