InputMouseWheelFrame Class
Event arguments that represent a wrapped System.Windows.Input.MouseWheelEventArgs, for testing and mocking.
public class InputMouseWheelFrame : IInputMouseWheelFrame
- Inheritance:
- System.Object Object
- Implements:
- IInputMouseWheelFrame
Constructors
InputMouseWheelFrame(MouseWheelEventArgs)
Initializes a new instance of the InputMouseWheelEventArgs class.
public InputMouseWheelFrame(MouseWheelEventArgs args)
Parameter | Type | Description |
---|---|---|
args | System.Windows.Input.MouseWheelEventArgs | The System.Windows.Input.MouseWheelEventArgs instance containing the event data. |
Properties
Delta
Gets the delta.
public int Delta { get; }
Property Value
- System.Int32:
The delta.
Handled
Gets or sets a value indicating whether this InputMouseWheelEventArgs is handled.
public bool Handled { get; set; }
Property Value
- System.Boolean:
true
if handled; otherwise,false
.
WrappedEventArgs
Gets the wrapped event arguments.
public MouseWheelEventArgs WrappedEventArgs { get; }
Property Value
- System.Windows.Input.MouseWheelEventArgs:
The wrapped event arguments.
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()