KeyboardModifierKeyFlagsToString(ModifierKeyFlags) Method |
Creates a string containing all display names for a modifier key combination.
Each key will be separated by the + character.
This will return the long name for modifier keys (Control instead of Ctrl).
To get the short name, use the
ModifierKeyFlagsToString(ModifierKeyFlags, Boolean) overload.
If you need RTL support, you must build the string yourself using
GetModifierKeyName(ModifierKey).
The returned value will be localized if localization is in use.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic static string ModifierKeyFlagsToString(
ModifierKeyFlags flags
)
Parameters
- flags ModifierKeyFlags
- The modifier key flags.
Return Value
StringA string containing all display names for a modifier key combination. The returned value will be localized if localization is in use.
See Also