/// <summary> /// The class handler of the event <see cref="KeyReleased"/>. /// This method can be overridden in inherited classes to perform actions common to all instances of a class. /// </summary> /// <param name="args">The arguments of the event</param> internal virtual void OnKeyReleased(KeyEventArgs args) { }
/// <summary> /// The class handler of the event <see cref="KeyPressed"/>. /// This method can be overridden in inherited classes to perform actions common to all instances of a class. /// </summary> /// <param name="args">The arguments of the event</param> internal virtual void OnKeyPressed(KeyEventArgs args) { }
/// <summary> /// The class handler of the event <see cref="KeyDown"/>. /// This method can be overridden in inherited classes to perform actions common to all instances of a class. /// </summary> /// <param name="args">The arguments of the event</param> internal virtual void OnKeyDown(KeyEventArgs args) { }
internal void RaiseKeyReleasedEvent(KeyEventArgs keyEventArgs) { keyEventArgs.RoutedEvent = KeyReleasedEvent; RaiseEvent(keyEventArgs); }