PanEventArgs Class
Provides event arguments for the Pan routed event.
public class PanEventArgs : RoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs object
Constructors
PanEventArgs(double, double)
Initializes an instance of the class.
public PanEventArgs(double xOffset, double yOffset)
| Parameter | Type | Description |
|---|---|---|
| xOffset | double | The offset along the X-axis. |
| yOffset | double | The offset along the Y-axis. |
PanEventArgs(double, double, RoutedEvent)
Initializes an instance of the class.
public PanEventArgs(double xOffset, double yOffset, RoutedEvent routedEvent)
| Parameter | Type | Description |
|---|---|---|
| xOffset | double | The offset along the X-axis. |
| yOffset | double | The offset along the Y-axis. |
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
PanEventArgs(double, double, RoutedEvent?, object?)
Initializes an instance of the class.
public PanEventArgs(double xOffset, double yOffset, RoutedEvent? routedEvent, object? source)
| Parameter | Type | Description |
|---|---|---|
| xOffset | double | The offset along the X-axis. |
| yOffset | double | The offset along the Y-axis. |
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
| source | object | An alternate source that will be reported when the event is handled. |
Properties
XOffset
The offset along the X-axis.
YOffset
The offset along the Y-axis.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()