Skip to main content
.NET 8.0+

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

PropertyEditor.MaxLength Property

Specifies the maximum length that the current Property Editor’s value can have.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public int MaxLength { get; set; }

#Property Value

Type Description
Int32

A positive integer value specifying the maximum number of characters end users can enter.

#Remarks

Use this property when the current PropertyEditor is used to edit string values. By default, it is initialized by the IModelMemberViewItem.MaxLength property value that can be edited in the Model Editor.

If you implement a custom Property Editor for string property values, consider setting up the control in accordance with this property .

See Also