Accelerator Accelerator Class

Definition

Represents a shortcut key for a MenuItem.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.AcceleratorTypeConverter))]
public class Accelerator
type Accelerator = class
Inheritance
AcceleratorAccelerator
Attributes

Properties

Keys Keys

For internal use only.

Modifiers Modifiers

For internal use only.

Methods

Equals(Object) Equals(Object)

Compares this accelerator to obj and returns true if obj is a of type Accelerator and is equal to this one. Otherwise, returns false.

FromString(String) FromString(String)

Returns a new Accelerator for the text.

GetHashCode() GetHashCode()

Returns the hashcode for the lower case string that represents the shortcut key.

ToString() ToString()

Returns a text representation of the accelerator.

Operators

Implicit(String to Accelerator) Implicit(String to Accelerator)

Uses Xamarin.Forms.Accelerator.FromString to convert accelerator to a new Accelerator.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to