Back to Devexpress

PropertyEditor.MaxLength Property

expressappframework-devexpress-dot-expressapp-dot-editors-dot-propertyeditor-3092485a.md

latest1.8 KB
Original Source

PropertyEditor.MaxLength Property

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

Namespace : DevExpress.ExpressApp.Editors

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public int MaxLength { get; set; }
vb
Public Property MaxLength As Integer

Property Value

TypeDescription
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

PropertyEditor Class

PropertyEditor Members

DevExpress.ExpressApp.Editors Namespace