Skip to main content
A newer version of this page is available. .
Tab

ASPxTextBox.Size Property

Gets or sets the editor’s display width in characters.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int Size { get; set; }

Property Value

Type Default Description
Int32 0

An integer value specifying the editor’s display width, in characters.

Remarks

The Size property specifies the editor width in characters. The specified value is applied more precisely when monospaced fonts are used.

Note

The Size property is in effect when the editor’s width is not specified explicitly via the ASPxTextBox.Width property. Therefore, the Size property has effect only when the native render is used (the ASPxTextBox.Native property is set to true). Otherwise, the text box width obtained from a theme has a greater priority.

This property is a wrapper of the TextBoxProperties.Size property.

See Also