Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDirectManipulationDragDropBehavior interface

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.

Members

The IDirectManipulationDragDropBehavior interface inherits from the IUnknown interface. IDirectManipulationDragDropBehavior also has these types of members:

Methods

The IDirectManipulationDragDropBehavior interface has these methods.

MethodDescription
GetStatus

Gets the status of the drag-drop interaction for the viewport this behavior is attached to.

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationDragDropBehavior is defined as 814B5AF5-C2C8-4270-A9B7-A198CE8D02FA

See also

Direct Manipulation Interfaces

 

 

Show:
© 2018 Microsoft