RepositoryItemPopupBaseAutoSearchEdit.ImmediatePopup Property
Gets or sets whether the popup window is displayed immediately after an end-user has typed a character in the edit box.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[DXCategory("Behavior")]
[DefaultValue(false)]
public virtual bool ImmediatePopup { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true, if the popup window is displayed immediately after an end-user has typed a character in the edit box; otherwise, false. |
Remarks
Set the ImmediatePopup property to true to display a popup window immediately after an end-user has typed a character to select an item from the popup list. The popup window can also be opened as follows:
- by clicking the button whose index is set in the RepositoryItemPopupBase.ActionButtonIndex property.
- by pressing the Alt+DownArrow key or the RepositoryItemPopupBase.CloseUpKey key in the edit box.
- by clicking the control’s edit box according to the RepositoryItemPopupBase.ShowDropDown property’s value
To open the dropdown via code, see the PopupBaseEdit.ShowPopup method.
For LookUpEdit editors, the ImmediatePopup property is only in effect when the RepositoryItemLookUpEdit.SearchMode property is set to SearchMode.AutoComplete. In SearchMode.AutoFilter mode, the dropdown is opened automatically when typing within the edit box. In SearchMode.OnlyInPopup search mode, typing within the edit box never opens the dropdown.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImmediatePopup 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.