IUIAnimationPriorityComparison2 interface (uianimation.h)
Defines a method that resolves scheduling conflicts through priority comparison.
Inheritance
The IUIAnimationPriorityComparison2 interface inherits from the IUnknown interface. IUIAnimationPriorityComparison2 also has these types of members:
Methods
The IUIAnimationPriorityComparison2 interface has these methods.
IUIAnimationPriorityComparison2::HasPriority Determines the relative priority between a scheduled storyboard and a new storyboard. |
Remarks
A single animation variable can be included in multiple storyboards, but multiple storyboards cannot animate the same variable at the same time.
If a newly scheduled storyboard attempts to animate one or more variables that are currently scheduled for animation by different storyboards, a scheduling conflict occurs.
To determine which storyboard has priority, the animation manager can call the HasPriority method on one or more priority comparison handlers provided by the application.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | uianimation.h |
See also
IUIAnimationManager2::SetCancelPriorityComparison
IUIAnimationManager2::SetCompressPriorityComparison
IUIAnimationManager2::SetConcludePriorityComparison