WheelGestureData Class
Provides gesture data about the mouse wheel.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Interaction.GestureData
Microsoft.Windows.Design.Interaction.WheelGestureData
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Class WheelGestureData _
Inherits GestureData
public class WheelGestureData : GestureData
public ref class WheelGestureData : public GestureData
type WheelGestureData =
class
inherit GestureData
end
public class WheelGestureData extends GestureData
The WheelGestureData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WheelGestureData(EditingContext, ModelItem, ModelItem, Int32) | Initializes a new instance of the WheelGestureData class. | |
WheelGestureData(EditingContext, ModelItem, ModelItem, Int32, DependencyObject, DependencyObject) | Initializes a new instance of the WheelGestureData class. |
Top
Properties
Name | Description | |
---|---|---|
Adorners | Gets the adorner collection for the designer view stored in the context. (Inherited from GestureData.) | |
Context | Gets the editing context associated with this gesture data. (Inherited from GestureData.) | |
Delta | Gets the scroll delta from the mouse scroll wheel. | |
ImpliedSource | Gets the model that is the source of this gesture. (Inherited from GestureData.) | |
ImpliedTarget | Gets the model that is the target of this gesture. (Inherited from GestureData.) | |
SourceAdorner | Gets the source adorner in the view. (Inherited from GestureData.) | |
SourceModel | Gets the object that is the source of this gesture. (Inherited from GestureData.) | |
TargetAdorner | Gets the target adorner in the view. (Inherited from GestureData.) | |
TargetModel | Gets the object that is the target of this gesture. (Inherited from GestureData.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromEventArgs(CanExecuteToolEventArgs) | Provides a WheelGestureData object from an CanExecuteToolEventArgs object. | |
FromEventArgs(ExecutedToolEventArgs) | Provides a WheelGestureData object from an ExecutedToolEventArgs object. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Gesture data is provided when a gesture occurs from rolling the mouse wheel. The main data-providing property is Delta, which indicates the distance the mouse wheel has traveled.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace