Skip to main content

RepositoryItemCheckedComboBoxEdit.MaxDisplayTextLength Property

Gets or sets the maximum length of the text that can be displayed in the editor. This property is only in effect for in-place editors.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(255)]
[DXCategory("Behavior")]
public int MaxDisplayTextLength { get; set; }

Property Value

Type Default Description
Int32 255

An integer value that specifies the maximum length of the text that can be displayed in the editor.

Remarks

The MaxDisplayTextLength property is only in effect for in-place editors and cannot to be set to a value less than 10. This property allows you to restrict the length of the text displayed in the editor. If the text to be displayed in the editor is more lengthy than the specified restriction, it is trimmed and continued with an ellipsis.

See Also