Пример #1
0
 public static void RemoveButtonLeftShoulderDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonLeftShoulderDownEvent, handler);
Пример #2
0
 public static void AddButtonGuideDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonGuideDownEvent, handler);
Пример #3
0
 public static void RemoveButtonGuideUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(ButtonGuideUpEvent, handler);
Пример #4
0
 public static void RemoveThumbRightChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.RemoveHandler(ThumbRightChangeEvent, handler);
Пример #5
0
 public static void RemoveTriggerLeftChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.RemoveHandler(TriggerLeftChangeEvent, handler);
Пример #6
0
 public static void RemoveDPadDownUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.RemoveHandler(DPadDownUpEvent, handler);
Пример #7
0
 public static void AddDPadDownDownHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(DPadDownDownEvent, handler);
Пример #8
0
 public static void AddThumbLeftChangeHandler(DependencyObject d, GamePadEventUi <Vector2> handler) => (d as UIElement)?.AddHandler(ThumbLeftChangeEvent, handler);
Пример #9
0
 public static void AddButtonStartUpHandler(DependencyObject d, GamePadEventUi handler) => (d as UIElement)?.AddHandler(ButtonStartUpEvent, handler);
Пример #10
0
 public static void AddTriggerRightChangeHandler(DependencyObject d, GamePadEventUi <float> handler) => (d as UIElement)?.AddHandler(TriggerRightChangeEvent, handler);