KeyboardModifierKeyFlagsToString Method (ModifierKeyFlags, Boolean) |
Creates a string containing all display names for a modifier key combination.
Each key will be separated by the + character.
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:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string ModifierKeyFlagsToString(
ModifierKeyFlags flags,
bool getShortName
)
Parameters
- flags
- Type: RewiredModifierKeyFlags
The modifier key flags. - getShortName
- Type: SystemBoolean
If true, the short name will be returned (Ctrl). If false, the long name will be returned (Control)..
Return Value
Type:
StringA string containing all display names for a modifier key combination. The returned value will be localized if localization is in use.
See Also