Back to Devexpress

IModelMember.Size Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelmember-b38b7135.md

latest2.1 KB
Original Source

IModelMember.Size Property

Specifies the maximum number of characters that users can type in Property Editors of the current string property. You can also specify the current member’s XPMemberInfo.MappingFieldSize property (XPO only) or apply FieldSizeAttribute to it. Property Editors ignore the IModelMember.Size property if its value is more than the MappingFieldSize or FieldSizeAttribute value.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
int Size { get; set; }
vb
Property Size As Integer

Property Value

TypeDescription
Int32

The maximum number of characters that users can type in Property Editors of the current string property.

|

Remarks

This property is initialized with a value from the IMemberInfo.Size property.

To specify the maximum number of characters that users can enter into the specific Property Editor, use the IModelMemberViewItem.MaxLength property.

See Also

MaxLength

IModelMember Interface

IModelMember Members

DevExpress.ExpressApp.Model Namespace