Class MouseButtonEventArgs
Arguments for mouse button event
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 MouseButtonEventArgs : MouseEventArgs
Constructors
MouseButtonEventArgs(MouseButton, MouseStateBase, Double, RoutedEvent)
Initializes a new instance of the MouseButtonEventArgs class.
Declaration
public MouseButtonEventArgs(MouseButton button, MouseStateBase state, double timestamp, RoutedEvent routedEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseButton | button | The button. |
| EmptyKeys.UserInterface.Input.MouseStateBase | state | The state. |
| System.Double | timestamp | The time stamp. |
| RoutedEvent | routedEvent | The routed event. |
MouseButtonEventArgs(MouseButton, MouseStateBase, Double, RoutedEvent, Object)
Initializes a new instance of the MouseButtonEventArgs class.
Declaration
public MouseButtonEventArgs(MouseButton button, MouseStateBase state, double timestamp, RoutedEvent routedEvent, object source)
Parameters
| Type | Name | Description |
|---|---|---|
| MouseButton | button | The button. |
| EmptyKeys.UserInterface.Input.MouseStateBase | state | The state. |
| System.Double | timestamp | The time stamp. |
| RoutedEvent | routedEvent | The routed event. |
| System.Object | source | The source. |
Properties
ChangedButton
Gets the changed button.
Declaration
public MouseButton ChangedButton { get; }
Property Value
| Type | Description |
|---|---|
| MouseButton | The changed button. |
ClickCount
Gets the click count.
Declaration
public int ClickCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The click count. |
InputListener
Gets or sets the input listener.
Declaration
public ButtonInputListener InputListener { get; set; }
Property Value
| Type | Description |
|---|---|
| ButtonInputListener | The input listener. |
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. |