Xamarin.Forms Guides | Samples

Xamarin.Forms.Accelerator Class

Represents a shortcut key for a MenuItem.

See Also: Accelerator

Syntax

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.AcceleratorTypeConverter))]
public class Accelerator

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 2.0.0.0

The members of Xamarin.Forms.Accelerator are listed below.

See Also: Object

Public Properties

KeysIEnumerable<string>. For internal use only.
ModifiersIEnumerable<string>. For internal use only.

Public Methods

override
Equals(Object) : Boolean
Compares this accelerator to obj and returns true if obj is a of type Accelerator and is equal to this one. Otherwise, returns false.
static
FromString(String) : Accelerator
Returns a new Accelerator for the text.
override
GetHashCode() : Int32
Returns the hashcode for the lower case string that represents the shortcut key.
override
ToString() : String
Returns a text representation of the accelerator.

Public Operators

static
Conversion to Xamarin.Forms.Accelerator(Implicit)Uses Accelerator.FromString to convert accelerator to a new Accelerator.