Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXMenuItem.ShowHotKeyPrefix Property

OBSOLETE

Use Appearance.TextOptions.HotkeyPrefix instead of ShowHotKeyPrefix

Gets or sets whether the ampersand (‘&’) character, when it is found in the item’s DXMenuItem.Caption, acts as a shortcut prefix, or it is displayed as is.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use Appearance.TextOptions.HotkeyPrefix instead of ShowHotKeyPrefix")]
public bool ShowHotKeyPrefix { get; set; }

#Property Value

Type Description
Boolean

true if the ampersand (‘&’) character, when it is found in the item’s DXMenuItem.Caption, acts as a shortcut prefix; false if the ampersand (‘&’) is displayed as is.

#Remarks

For information on using shortcuts in menu item captions, see the DXMenuItem.Caption property.

See Also