IUIAnimationTransition::IsDurationKnown method (uianimation.h)

Determines whether a transition's duration is currently known.

Syntax

HRESULT IsDurationKnown();

Return value

Returns S_OK if the duration is known, S_FALSE if the duration is not known, or an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Return code Description
UI_E_STORYBOARD_ACTIVE
The storyboard for this transition is currently in schedule.

Remarks

This method should not be called when the storyboard to which the transition has been added is scheduled or playing.

Examples

For an example, see IUIAnimationTransition::GetDuration.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationTransition

IUIAnimationTransition::GetDuration