Skip to main content
A newer version of this page is available. .

HKeyPrefix Enum

Provides values that indicate different ways to interpret an ampersand character (&) in item captions.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum HKeyPrefix

Members

Name Description
Default

A default control behavior.

None

The ampersand character (&) is shown, the next character is not underlined.

HotkeyPrefix_None

Show

The ampersand character (&) is hidden, the next character is underlined.

HotkeyPrefix_Show

Hide

The ampersand character (&) is hidden, the next character is not underlined.

HotkeyPrefix_Hide

Related API Members

The following properties accept/return HKeyPrefix values:

Remarks

The HKeyPrefix enumerator values are accepted by the TextOptions.HotkeyPrefix property. This property allows you to specify how the “&” character in an item caption should be interpreted: as a symbol that makes the following character a hotkey, as a regular character that should be displayed as is, or as a placeholder that should be completely ignored.

See Also