Skip to main content
.NET 6.0+

PropertyEditor.MaxLength Property

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public int MaxLength { get; set; }

Property Value

Type Description

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


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