KeyGestureFormatInfoFormatKey Method
Checks the platformKeyOverrides and s_commonKeyOverrides Dictionaries, in order, for the appropriate
string to represent the given Key on this platform.
NOTE: If platformKeyOverrides is null, this is assumed to be the Invariant and the Dictionaries are not checked.
The plain Enum string is returned instead.
Namespace: Avalonia.Input.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public string FormatKey(
Key key
)
Public Function FormatKey (
key As Key
) As String
member FormatKey :
key : Key -> string
- key Key
- The Key to format.
StringThe appropriate platform specific or common override if present, key.ToString() if not or this is the Invariant.