Show / Hide Table of Contents

Class GamepadEventArgs

Implements base arguments for game pad events

Inheritance
System.Object
RoutedEventArgs
InputEventArgs
GamepadEventArgs
GamepadButtonEventArgs
GamepadMoveEventArgs
GamepadTriggerEventArgs
Inherited Members
InputEventArgs.Timestamp
RoutedEventArgs.RoutedEvent
RoutedEventArgs.Handled
RoutedEventArgs.Source
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 GamepadEventArgs : InputEventArgs

Constructors

GamepadEventArgs(GamePadStateBase, Double, RoutedEvent)

Initializes a new instance of the GamepadEventArgs class.

Declaration
public GamepadEventArgs(GamePadStateBase state, double timestamp, RoutedEvent routedEvent)
Parameters
Type Name Description
EmptyKeys.UserInterface.Input.GamePadStateBase state

The state.

System.Double timestamp

The timestamp.

RoutedEvent routedEvent

The routed event.

GamepadEventArgs(GamePadStateBase, Double, RoutedEvent, Object)

Initializes a new instance of the GamepadEventArgs class.

Declaration
public GamepadEventArgs(GamePadStateBase state, double timestamp, RoutedEvent routedEvent, object source)
Parameters
Type Name Description
EmptyKeys.UserInterface.Input.GamePadStateBase state

The state.

System.Double timestamp

The timestamp.

RoutedEvent routedEvent

The routed event.

System.Object source

The source.

Properties

State

Gets the state.

Declaration
public GamePadStateBase State { get; }
Property Value
Type Description
EmptyKeys.UserInterface.Input.GamePadStateBase

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.

Overrides
InputEventArgs.InvokeEventHandler(Delegate, Object)
Back to top Generated by DocFX