Skip to main content

RepositoryItemTokenEdit.DropDownShowMode Property

Gets or sets the way this TokenEdit‘s drop-down list is displayed.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(TokenEditDropDownShowMode.Default)]
[DXCategory("Behavior")]
public TokenEditDropDownShowMode DropDownShowMode { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.TokenEditDropDownShowMode Default

A DevExpress.XtraEditors.TokenEditDropDownShowMode enumerator value that specifies the way this TokenEdit‘s drop-down list is displayed.

Remarks

Depending on the DropDownShowMode property value, a TokenEdit drop-down list can be displayed in two different modes. In Outlook mode, the drop-down list starts from the cursor position and occupies the width according to the longest token caption available. As an end-user keeps adding tokens, the drop-down follows the cursor further and further to the editor’s right edge. The figure below illustrates this drop-down show mode.

TokenEdit - Outlook Drop-Down Show Mode

When in Regular (or Default) mode, the drop-down list is always displayed starting from the editor’s left edge and occupies the width equal to the editor’s width. See the figure below for an example.

TokenEdit - Regular Drop-Down Show Mode

You can also completely disable the drop-down list by setting the RepositoryItemTokenEdit.ShowDropDown property to false. Refer to the Token Edit Control topic to learn more.

See Also