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.

IUIAnimationTransition::IsDurationKnown method

Determines whether a transition's duration is currently known.

Syntax


HRESULT IsDurationKnown();

Parameters

This method has no parameters.

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 codeDescription
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

Minimum supported client

Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationTransition
IUIAnimationTransition::GetDuration

 

 

Show:
© 2017 Microsoft