Beispiel #1
0
 /// <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)
 {
 }
Beispiel #2
0
 /// <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)
 {
 }
Beispiel #3
0
 /// <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)
 {
 }
Beispiel #4
0
 internal void RaiseKeyReleasedEvent(KeyEventArgs keyEventArgs)
 {
     keyEventArgs.RoutedEvent = KeyReleasedEvent;
     RaiseEvent(keyEventArgs);
 }