Provides values that indicate different ways to interpret an ampersand character (&) in item captions.
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")] public enum HKeyPrefix
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")> Public Enum HKeyPrefix
A default control behavior.
The ampersand character (&) is shown, the next character is not underlined.
The ampersand character (&) is hidden, the next character is underlined.
The ampersand character (&) is hidden, the next character is not underlined.
Related API Members
The following properties accept/return HKeyPrefix values:
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.