MainWeb.Width

MainWeb.Width property

Gets or sets the width( System.Web.UI.WebControl.Unit ) of the control.

public override Unit Width { get; set; }

Examples

[C#]
	GridWeb1.Width = new System.Web.UI.WebControls.Unit(320, System.Web.UI.WebControls.UnitType.Point);
	GridWeb1.Height = new System.Web.UI.WebControls.Unit(240, System.Web.UI.WebControls.UnitType.Point);

[Visual Basic]
	GridWeb1.Width = New System.Web.UI.WebControls.Unit(320, System.Web.UI.WebControls.UnitType.Point)
	GridWeb1.Height = New System.Web.UI.WebControls.Unit(240, System.Web.UI.WebControls.UnitType.Point)

See Also