DragGestureData Class
Provides additional information during a drag-and-drop operation.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Interaction.GestureData
Microsoft.Windows.Design.Interaction.MouseGestureData
Microsoft.Windows.Design.Interaction.DragGestureData
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Class DragGestureData _
Inherits MouseGestureData
public class DragGestureData : MouseGestureData
public ref class DragGestureData : public MouseGestureData
type DragGestureData =
class
inherit MouseGestureData
end
public class DragGestureData extends MouseGestureData
The DragGestureData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DragGestureData(EditingContext, ModelItem, ModelItem, Visual, Point, Point, DragDropEffects, IDataObject) | Initializes a new instance of the DragGestureData class. | |
DragGestureData(EditingContext, ModelItem, ModelItem, Visual, Point, Point, DragDropEffects, IDataObject, DependencyObject, DependencyObject) | Initializes a new instance of the DragGestureData class. |
Top
Properties
Name | Description | |
---|---|---|
Adorners | Gets the adorner collection for the designer view stored in the context. (Inherited from GestureData.) | |
AllowedEffects | Gets the set of allowed drag-and-drop effects. | |
Context | Gets the editing context associated with this gesture data. (Inherited from GestureData.) | |
CurrentPosition | Gets the current position of the mouse. (Inherited from MouseGestureData.) | |
Data | Gets the data passed in for the drag-and-drop operation. | |
Effects | Gets or sets the current drag-and-drop effects. | |
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.) | |
PositionDelta | Gets the offset between starting and ending positions. (Inherited from MouseGestureData.) | |
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.) | |
StartPosition | Gets the starting position of the mouse. (Inherited from MouseGestureData.) | |
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 simple utility that returns a DragGestureData object from a CanExecuteToolEventArgs object. | |
FromEventArgs(ExecutedToolEventArgs) | Provides a simple utility that returns a DragGestureData 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.) | |
TranslatePoint | Translates the specified point to the coordinate system of the visual for the specified model. (Inherited from MouseGestureData.) |
Top
Remarks
This class derives from MouseGestureData and provides additional gesture data for drag-and-drop operations.
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