IDirectManipulationViewport interface (directmanipulation.h)
Defines a region within a window (referred to as a viewport) that is able to receive and process input from user interactions. The viewport contains content that moves in response to a user interaction.
Inheritance
The IDirectManipulationViewport interface inherits from the IUnknown interface. IDirectManipulationViewport also has these types of members:
Methods
The IDirectManipulationViewport interface has these methods.
IDirectManipulationViewport::Abandon Releases all resources that are used by the viewport and prepares it for destruction from memory. |
IDirectManipulationViewport::ActivateConfiguration Sets the configuration for input interaction. |
IDirectManipulationViewport::AddConfiguration Adds an interaction configuration for the viewport. |
IDirectManipulationViewport::AddContent Adds secondary content, such as a panning indicator, to a viewport. |
IDirectManipulationViewport::AddEventHandler Adds a new event handler to listen for viewport events. |
IDirectManipulationViewport::Disable Stops input processing by the viewport. |
IDirectManipulationViewport::Enable Starts or resumes input processing by the viewport. |
IDirectManipulationViewport::GetPrimaryContent Gets the primary content of a viewport that implements IDirectManipulationContent and IDirectManipulationPrimaryContent. |
IDirectManipulationViewport::GetStatus Gets the state of the viewport. |
IDirectManipulationViewport::GetTag Gets the tag value of a viewport. |
IDirectManipulationViewport::GetViewportRect Retrieves the rectangle for the viewport relative to the origin of the viewport coordinate system specified by SetViewportRect. |
IDirectManipulationViewport::ReleaseAllContacts Removes all contacts that are associated with the viewport. Inertia is started if the viewport supports inertia. |
IDirectManipulationViewport::ReleaseContact Removes a contact that is associated with a viewport. |
IDirectManipulationViewport::RemoveConfiguration Removes an interaction configuration for the viewport. |
IDirectManipulationViewport::RemoveContent Removes secondary content from a viewport. |
IDirectManipulationViewport::RemoveEventHandler Removes an existing event handler from the viewport. |
IDirectManipulationViewport::SetChaining Specifies the motion types supported in a viewport that can be chained to a parent viewport. |
IDirectManipulationViewport::SetContact Specifies an association between a contact and the viewport. |
IDirectManipulationViewport::SetInputMode Specifies if input is visible to the UI thread. |
IDirectManipulationViewport::SetManualGesture Sets which gestures are ignored by Direct Manipulation. |
IDirectManipulationViewport::SetTag Sets a viewport tag. |
IDirectManipulationViewport::SetUpdateMode Specifies whether a viewport updates content manually instead of during an input event. |
IDirectManipulationViewport::SetViewportOptions Sets how the viewport handles input and output. |
IDirectManipulationViewport::SetViewportRect Sets the bounding rectangle for the viewport, relative to the origin of the viewport coordinate system. |
IDirectManipulationViewport::SetViewportTransform Specifies the transform from the viewport coordinate system to the window client coordinate system. |
IDirectManipulationViewport::Stop Stops the manipulation and returns the viewport to a ready state. |
IDirectManipulationViewport::SyncDisplayTransform Specifies a display transform for the viewport, and synchronizes the output transform with the new value of the display transform. |
IDirectManipulationViewport::ZoomToRect Moves the viewport to a specific area of the primary content and specifies whether to animate the transition. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |