RepositoryItemPopupBase.ShowDropDown Property

Gets or sets whether the popup window can be opened by clicking the edit box and whether a single or double click is required.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(ShowDropDown.SingleClick)]
public virtual ShowDropDown ShowDropDown { get; set; }
<DXCategory("Behavior")>
<DefaultValue(ShowDropDown.SingleClick)>
Public Overridable Property ShowDropDown As ShowDropDown

Property Value

Type Default Description
ShowDropDown

SingleClick

A ShowDropDown enumeration value.

Remarks

If the ShowDropDown property value is ShowDropDown.Never, end-users cannot invoke the dropdown by clicking the edit box. This is also not allowed if ShowDropDown is set to ShowDropDown.SingleClick and the RepositoryItemButtonEdit.TextEditStyle value is TextEditStyles.Standard. In this case, single clicks are processed by the edit box to change the caret position and thus do not invoke the editor's popup window. If the ShowDropDown property value is ShowDropDown.DoubleClick, double-clicking the edit box invokes the popup window, regardless of the RepositoryItemButtonEdit.TextEditStyle property value.

See Also