windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-d31f797a.md
Gets or sets the maximum number of drop-down menu items for this TokenEdit.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(7)]
[DXCategory("Appearance")]
public int DropDownRowCount { get; set; }
<DXCategory("Appearance")>
<DefaultValue(7)>
Public Property DropDownRowCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 7 |
An Int32 value that is the maximum number of drop-down menu items for this TokenEdit.
|
The TokenEdit control can display a drop-down list that shows all TokenEditToken objects (see the RepositoryItemTokenEdit.Tokens property) that match the currently entered end-user text. The DropDownRowCount property allows you to specify this drop-down list height by setting the maximum lines number this list can display. The image below illustrates a Token Edit drop-down list limited to 2 items in height.
You can also use the static RepositoryItemTokenEdit.DefaultDropDownRowCount field to get the default drop-down list height, which is 7 lines.
To disable the drop-down history list, set the RepositoryItemTokenEdit.ShowDropDown property to false.
See Also