EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

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.

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

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationPriorityComparison2 is defined as 5B6D7A37-4621-467C-8B05-70131DE62DDB

See also

IUIAnimationManager2::SetCancelPriorityComparison
IUIAnimationManager2::SetCompressPriorityComparison
IUIAnimationManager2::SetConcludePriorityComparison
IUIAnimationManager2::SetTrimPriorityComparison

 

 

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2014 Microsoft