IDirectManipulationViewport2::RemoveAllBehaviors method (directmanipulation.h)

Removes all behaviors added to the viewport.

Syntax

HRESULT RemoveAllBehaviors();

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

RemoveAllBehaviors only returns an error if the removal of a behavior from the viewport was unsuccessful. In the event that a specific behavior is not removed successfully, RemoveAllBehaviors removes all remaining behaviors.

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

See also

IDirectManipulationViewport2