Skip to main content

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.1.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