Back to Devexpress

BarEditItem.SuppressModifierKey Property

windowsforms-devexpress-dot-xtrabars-dot-baredititem-42a69537.md

latest1.8 KB
Original Source

BarEditItem.SuppressModifierKey Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(SuppressKeys.Default)]
[DXCategory("Behavior")]
public SuppressKeys SuppressModifierKey { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(SuppressKeys.Default)>
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

BarEditItem Class

BarEditItem Members

DevExpress.XtraBars Namespace