IUIAnimationPriorityComparison2 interface
Defines a method that resolves scheduling conflicts through priority comparison.
When to implement
Client applications implement one or more IUIAnimationPriorityComparison2 handlers to define how scheduling conflicts are resolved.
When to use
To register these handlers, use the IUIAnimationManager2::SetCancelPriorityComparison, IUIAnimationManager2::SetCompressPriorityComparison, IUIAnimationManager2::SetConcludePriorityComparison, and IUIAnimationManager2::SetTrimPriorityComparison methods.
Members
The IUIAnimationPriorityComparison2 interface inherits from the IUnknown interface. IUIAnimationPriorityComparison2 also has these types of members:
Methods
The IUIAnimationPriorityComparison2 interface has these methods.
| Method | Description |
|---|---|
| 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
|
Minimum supported client |
Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAnimationPriorityComparison2 is defined as 5B6D7A37-4621-467C-8B05-70131DE62DDB |
See also
- IUnknown
- IUIAnimationManager2::SetCancelPriorityComparison
- IUIAnimationManager2::SetCompressPriorityComparison
- IUIAnimationManager2::SetConcludePriorityComparison
- IUIAnimationManager2::SetTrimPriorityComparison