Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

FieldSizeAttribute Class

Specifies the maximum number of characters that users can type in Property Editors of the current member. You can also specify the current member’s IModelMember.Size property in the Model Editor. If the value passed to the FieldSize attribute is more than the Size property value, Property Editors ignore the attribute. In the XPO data model, use the SizeAttribute instead of FieldSizeAttribute.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public class FieldSizeAttribute :
    Attribute

#Remarks

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

#Inheritance

Object
Attribute
FieldSizeAttribute
See Also