Skip to main content

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

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.v24.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