1 instantiation of Accelerator
Microsoft.Maui.Controls (1)
Accelerator.cs (1)
34 var accelarat = new Accelerator(text);
18 references to Accelerator
Microsoft.Maui.Controls (18)
Accelerator.cs (6)
32 public static Accelerator FromString(string text) 34 var accelarat = new Accelerator(text); 87 return obj is Accelerator && Equals((Accelerator)obj); 90 bool Equals(Accelerator other) 105 public static implicit operator Accelerator(string accelerator)
AcceleratorTypeConverter.cs (6)
9 /// Class that the XAML parser uses to convert strings to <see cref="Accelerator" /> objects. 14 /// The returned <see cref="Accelerator" /> has its <see cref="Accelerator.Modifiers" /> array filled with the specified modifiers, 15 /// and its <see cref="Accelerator.Keys" /> array filled with the remaining keys.</remarks> 32 return Accelerator.FromString(strValue); 37 if (value is not Accelerator acc)
Menu\MenuItem.cs (6)
14 /// <summary>Bindable property for <see cref="Accelerator"/>.</summary> 16 public static readonly BindableProperty AcceleratorProperty = BindableProperty.CreateAttached(nameof(Accelerator), typeof(Accelerator), typeof(MenuItem), null); 50 public static Accelerator GetAccelerator(BindableObject bindable) => (Accelerator)bindable.GetValue(AcceleratorProperty); 54 public static void SetAccelerator(BindableObject bindable, Accelerator value) => bindable.SetValue(AcceleratorProperty, value);