windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-f3f8c2ed.md
Gets or sets whether the drop-down window is shown when the user clicks within the edit box.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean ShowDropDownOnClick { get; set; }
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property ShowDropDownOnClick As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
Default or DefaultBoolean if the TokenEdit shows its drop-down window when the user clicks the edit box; otherwise, False.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
The drop-down window can be opened if the following options are enabled:
ShowDropDownOnClick — specifies whether the drop-down window is shown when the user clicks within the edit box.You can also use the MaxTokenCount property to specify the maximum number of tokens that the user can select. If this value is reached, the drop-down window is not opened.
You can call the ShowPopup() method in code to open the drop-down window.
The editor raises the following events before and after the drop-down window is opened:
When a user selects a token, the drop-down window is closed. You can call the ClosePopup() method in code to close the drop-down window.
The editor raises the following events before and after the drop-down window is closed:
See Also