Поделиться через


Accelerator Class

Definition

Represents a shortcut key for a MenuItem.

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

Properties

Keys

For internal use only.

Modifiers

For internal use only.

Methods

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)

Returns a new Accelerator for the text.

GetHashCode()

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

ToString()

Returns a text representation of the accelerator.

Operators

Implicit(String to Accelerator)

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

Applies to