Back to Devexpress

BaseEdit.SuppressModifierKey Property

windowsforms-devexpress-dot-xtraeditors-dot-baseedit-ac8e6305.md

latest1.9 KB
Original Source

BaseEdit.SuppressModifierKey Property

Gets or sets whether to suppress the specified keyboard key for the editor.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(SuppressKeys.Default)]
[EditorBrowsable(EditorBrowsableState.Never)]
public SuppressKeys SuppressModifierKey { get; set; }
vb
<DefaultValue(SuppressKeys.Default)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property SuppressModifierKey As SuppressKeys

Property Value

TypeDefaultDescription
SuppressKeysDefault

Suppressed modifier keys.

|

Available values:

NameDescription
Default

Control for the BarManager.SuppressModifierKey property.

None for the BarEditItem.SuppressModifierKey property.

| | None |

Do not suppress keys.

| | Control |

Suppress the Ctrl key.

| | Alt |

Suppress the Alt key.

|

Remarks

The default editor invokes its drop-down window when a user presses the Alt + Down Arrow combination. Set the SuppressModifierKey to Alt to invoke this window with the Down Arrow key only.

See Also

BaseEdit Class

BaseEdit Members

DevExpress.XtraEditors Namespace