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.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(255)]
[Browsable(false)]
public int MaxDisplayTextLength { get; set; }
<DXCategory("Behavior")>
<DefaultValue(255)>
<Browsable(False)>
Public Property MaxDisplayTextLength As Integer

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