Summary
Converts a
KeyGesture
to a string, formatting it according to the current
platform's style guidelines.
- Namespace
- Avalonia
.Controls .Converters - Containing Type
- Platform
Key Gesture Converter
Syntax
public static string ToPlatformString(KeyGesture gesture)
Parameters
Name | Type | Description |
---|---|---|
gesture | KeyGesture | The gesture. |
Return Value
Type | Description |
---|---|
string | The gesture formatted according to the current platform. |