Accelerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use KeyboardAccelerator instead.
Represents a shortcut key for a MenuItem.
public ref class Accelerator
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.AcceleratorTypeConverter))]
public class Accelerator
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.AcceleratorTypeConverter))]
[System.Obsolete("Use KeyboardAccelerator instead.")]
public class Accelerator
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.AcceleratorTypeConverter))>]
type Accelerator = class
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.AcceleratorTypeConverter))>]
[<System.Obsolete("Use KeyboardAccelerator instead.")>]
type Accelerator = class
Public Class Accelerator
- Inheritance
-
Accelerator
- Attributes
Properties
Keys |
For internal use only. |
Modifiers |
For internal use only. |
Methods
Equals(Object) |
Compares |
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) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for