Skip to main content
.NET 8.0+

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