Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

int Size { get; set; }

#Property Value

Type Description
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