Class KeyboardEventArgs
Base arguments for all keyboard related event arguments
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class KeyboardEventArgs : InputEventArgs
Constructors
KeyboardEventArgs(KeyboardStateBase, Double, RoutedEvent)
Initializes a new instance of the KeyboardEventArgs class.
Declaration
public KeyboardEventArgs(KeyboardStateBase state, double timestamp, RoutedEvent routedEvent)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Input.KeyboardStateBase | state | The state. |
System.Double | timestamp | The time stamp. |
RoutedEvent | routedEvent | The routed event. |
KeyboardEventArgs(KeyboardStateBase, Double, RoutedEvent, Object)
Initializes a new instance of the KeyboardEventArgs class.
Declaration
public KeyboardEventArgs(KeyboardStateBase state, double timestamp, RoutedEvent routedEvent, object source)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Input.KeyboardStateBase | state | The state. |
System.Double | timestamp | The time stamp. |
RoutedEvent | routedEvent | The routed event. |
System.Object | source | The source. |
Properties
State
Gets the state.
Declaration
public KeyboardStateBase State { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Input.KeyboardStateBase | The state. |
Methods
InvokeEventHandler(Delegate, Object)
Invokes the event handler.
Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | handler | The handler. |
System.Object | target | The target. |