KeyGestureFormatInfoGetInstance Method

Gets the most appropriate KeyGestureFormatInfo for the IFormatProvider requested. This will be, in order: 1. The provided IFormatProvider as a KeyGestureFormatInfo 2. The currently registered platform specific KeyGestureFormatInfo, if present. 3. The Invariant otherwise.

Definition

Namespace: Avalonia.Input.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static KeyGestureFormatInfo GetInstance(
	IFormatProvider? formatProvider
)

Parameters

formatProvider  IFormatProvider
The IFormatProvider to get a KeyGestureFormatInfo for.

Return Value

KeyGestureFormatInfo

See Also