|
|
@@ -94,7 +94,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<KeyEventArgs> KeyDownEvent =
|
|
|
RoutedEvent.Register<InputElement, KeyEventArgs>(
|
|
|
- "KeyDown",
|
|
|
+ nameof(KeyDown),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -102,7 +102,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<KeyEventArgs> KeyUpEvent =
|
|
|
RoutedEvent.Register<InputElement, KeyEventArgs>(
|
|
|
- "KeyUp",
|
|
|
+ nameof(KeyUp),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -116,7 +116,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<TextInputEventArgs> TextInputEvent =
|
|
|
RoutedEvent.Register<InputElement, TextInputEventArgs>(
|
|
|
- "TextInput",
|
|
|
+ nameof(TextInput),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -124,7 +124,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<TextInputMethodClientRequestedEventArgs> TextInputMethodClientRequestedEvent =
|
|
|
RoutedEvent.Register<InputElement, TextInputMethodClientRequestedEventArgs>(
|
|
|
- "TextInputMethodClientRequested",
|
|
|
+ nameof(TextInputMethodClientRequested),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -144,7 +144,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<PointerEventArgs> PointerMovedEvent =
|
|
|
RoutedEvent.Register<InputElement, PointerEventArgs>(
|
|
|
- "PointerMoved",
|
|
|
+ nameof(PointerMoved),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -152,7 +152,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<PointerPressedEventArgs> PointerPressedEvent =
|
|
|
RoutedEvent.Register<InputElement, PointerPressedEventArgs>(
|
|
|
- "PointerPressed",
|
|
|
+ nameof(PointerPressed),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -160,7 +160,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<PointerReleasedEventArgs> PointerReleasedEvent =
|
|
|
RoutedEvent.Register<InputElement, PointerReleasedEventArgs>(
|
|
|
- "PointerReleased",
|
|
|
+ nameof(PointerReleased),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -168,7 +168,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<PointerCaptureLostEventArgs> PointerCaptureLostEvent =
|
|
|
RoutedEvent.Register<InputElement, PointerCaptureLostEventArgs>(
|
|
|
- "PointerCaptureLost",
|
|
|
+ nameof(PointerCaptureLost),
|
|
|
RoutingStrategies.Direct);
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -176,7 +176,7 @@ namespace Avalonia.Input
|
|
|
/// </summary>
|
|
|
public static readonly RoutedEvent<PointerWheelEventArgs> PointerWheelChangedEvent =
|
|
|
RoutedEvent.Register<InputElement, PointerWheelEventArgs>(
|
|
|
- "PointerWheelChanged",
|
|
|
+ nameof(PointerWheelChanged),
|
|
|
RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
|
|
|
|
|
|
/// <summary>
|