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
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.