IDirectManipulationDragDropBehavior interface (directmanipulation.h)
Represents behaviors for drag and drop interactions, which are triggered by cross-slide or press-and-hold gestures.
Call AddBehavior to apply the behavior on a viewport and RemoveBehavior to remove it.
Inheritance
The IDirectManipulationDragDropBehavior interface inherits from the IUnknown interface. IDirectManipulationDragDropBehavior also has these types of members:
Methods
The IDirectManipulationDragDropBehavior interface has these methods.
IDirectManipulationDragDropBehavior::GetStatus Gets the status of the drag-drop interaction for the viewport this behavior is attached to. |
IDirectManipulationDragDropBehavior::SetConfiguration Sets the configuration of the drag-drop interaction for the viewport this behavior is attached to. |
Remarks
If AddConfiguration, RemoveConfiguration, ActivateConfiguration, or SetManualGesture has been called successfully on a viewport, AddBehavior fails for the remaining lifetime of the viewport.
Once the behavior is added to the viewport, calls to AddConfiguration, RemoveConfiguration, ActivateConfiguration, or SetManualGesture will fail until RemoveBehavior is called.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |