Skip to main content

ToPlatformString Method

Converts a KeyGesture to a string, formatting it according to the current platform's style guidelines.

Definition​

Namespace: Avalonia.Controls.Converters
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static string ToPlatformString(
KeyGesture gesture
)

Parameters​

  KeyGesture
The gesture.

Return Value​

String
The gesture formatted according to the current platform.

See Also​

Reference​

PlatformKeyGestureConverter Class
Avalonia.Controls.Converters Namespace