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 [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationTransition
IUIAnimationTransition::GetDuration

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.