Back to Devexpress

RepositoryItemDateTimeOffsetEdit.ShowDropDown Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdatetimeoffsetedit-8ef20563.md

latest2.8 KB
Original Source

RepositoryItemDateTimeOffsetEdit.ShowDropDown Property

Gets or sets whether a user can click an editor text box to open the drop-down menu, and whether a single or a double click is required. A single click opens the editor drop-down only when the RepositoryItemButtonEdit.TextEditStyle property equals TextEditStyles.DisableTextEditor.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override ShowDropDown ShowDropDown { get; set; }
vb
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
Public Overrides Property ShowDropDown As ShowDropDown

Property Value

TypeDescription
ShowDropDown

Specifies whether users can click or double-click the editor to open its drop-down menu.

|

Available values:

NameDescription
Never

Clicking within the text region does not activate the popup window. A popup window appears only when pressing the RepositoryItemPopupBase.CloseUpKey key or Alt + DownArrow key, or calling the editor’s PopupBaseEdit.ShowPopup method.

| | SingleClick |

A popup window is activated when a user clicks within the text region of a control.

| | DoubleClick |

A popup window is activated when a user double-clicks within the text region of a control.

Note: the value is in effect when the RepositoryItemButtonEdit.TextEditStyle property is set to TextEditStyles.Standard as well.

|

See Also

RepositoryItemDateTimeOffsetEdit Class

RepositoryItemDateTimeOffsetEdit Members

DevExpress.XtraEditors.Repository Namespace