InputPointerWheelEventArgs Class
Provides event data for pointer button input events.
public class InputPointerWheelEventArgs : InputPointerEventArgs
- Inheritance:
- object EventArgs InputPointerEventArgs object
Constructors
InputPointerWheelEventArgs(IInputElement, MouseEventArgs)
Initializes a new instance of the InputPointerWheelEventArgs class.
public InputPointerWheelEventArgs(IInputElement originalSource, MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
originalSource | IInputElement | The original source element. |
e | MouseEventArgs | The wrapped event arguments. |
Properties
Delta
Gets the pointer wheel delta.
IsHorizontal
Gets whether the event is for a horizontal mouse wheel.
public bool IsHorizontal { get; }
Property Value
- bool:
true
if the event is for a horizontal mouse wheel; otherwise,false
for a vertical mouse wheel.
ScrollCharacters
Gets the number of character to scroll when the horizontal pointer wheel turns.
public int ScrollCharacters { get; }
Property Value
- int:
The number of character to scroll when the horizontal pointer wheel turns.
ScrollLines
Gets the number of lines to scroll when the vertical pointer wheel turns.
public int ScrollLines { get; }
Property Value
- int:
The number of lines to scroll when the vertical pointer wheel turns.
SingleUnitDelta
Gets the pointer wheel delta for a single unit.
WrappedEventArgs
Gets the wrapped event arguments.
public MouseEventArgs WrappedEventArgs { get; }
Property Value
- MouseEventArgs:
The wrapped event arguments.
Methods
ToString()
Returns a string representation of this instance.
Inherited Members
- InputPointerEventArgs.GetPosition(IUIElement)
- InputPointerEventArgs.IsPositionOver(IUIElement)
- InputPointerEventArgs.DeviceKind
- InputPointerEventArgs.Handled
- InputPointerEventArgs.ModifierKeys
- InputPointerEventArgs.OriginalSource
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()