Accelerator.Implicit(String to Accelerator) Operator

Definition

Uses FromString(String) to convert accelerator to a new Accelerator.

public static implicit operator Xamarin.Forms.Accelerator (string accelerator);
static member op_Implicit : string -> Xamarin.Forms.Accelerator

Parameters

accelerator
System.String

A string that represents an accelerator key combination

Returns

The new Accelerator for the accelerator description.

Remarks

accelerator may contain a combination of "CTRL", "CMD", "ALT", "SHIFT", "FN", or "WIN", in any combination of upper or lower case letters, as well as any available keys on the platform. The returned Accelerator has its Modifiers array filled with the specifed modifiers, and its Keys array filled with the remaining keys.

Applies to