Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IModelMember.Size Property

Specifies the maximum number of characters that can be typed in the Property Editor of the current member.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

int Size { get; set; }

Property Value

Type Description
Int32

An integer value specifying the maximum number of characters that can be typed in the Property Editor of the current member.

Remarks

This property is considered for string properties.

In XPO, if the current member is a custom persistent field, the Size property additionally specifies the maximum number of characters that can be stored in a column mapped to the current member (has the same effect as the FieldSizeAttribute).

See Also