Skip to main content
A newer version of this page is available. .

RepositoryItemTokenEdit.CustomDropDownControl Property

Gets or sets the custom drop-down control for this TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.1.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
public CustomTokenEditDropDownControlBase CustomDropDownControl { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.Popup.CustomTokenEditDropDownControlBase *null*

A DevExpress.XtraEditors.Popup.CustomTokenEditDropDownControlBase class descendant that serves as the custom drop-down control for this TokenEdit.

Remarks

By default, the TokenEdit features a simple combo box-like drop-down that lists all available tokens. You can replace this drop-down with your own control if it derives from the DevExpress.XtraEditors.Popup.CustomTokenEditDropDownControlBase class. See the TokenEdit with Custom Drop-Down Control topic for an example.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomDropDownControl property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also