HtmlInputText::Size Property

 

Gets or sets the width of the text box.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
property int Size {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The width, in characters, of the text box.

Use the Size property to specify or determine the width of the text box, in characters.

The following code example demonstrates how to use the Size property to specify the width of the text box.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: