EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IUIAnimationPriorityComparison interface

Defines a method for priority comparison that the animation manager uses to resolve scheduling conflicts.

When to implement

Client applications implement one or more IUIAnimationPriorityComparison handlers to define how scheduling conflicts are resolved. To register these handlers, use IUIAnimationManager::SetCancelPriorityComparison, IUIAnimationManager::SetCompressPriorityComparison, IUIAnimationManager::SetConcludePriorityComparison, and IUIAnimationManager::SetTrimPriorityComparison.

Members

The IUIAnimationPriorityComparison interface inherits from the IUnknown interface. IUIAnimationPriorityComparison also has these types of members:

Methods

The IUIAnimationPriorityComparison 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 HasPriority on one or more priority comparison handlers provided by the application.

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

IID

IID_IUIAnimationPriorityComparison is defined as 83FA9B74-5F86-4618-BC6A-A2FAC19B3F44

See also

IUIAnimationManager::SetCancelPriorityComparison
IUIAnimationManager::SetCompressPriorityComparison
IUIAnimationManager::SetConcludePriorityComparison
IUIAnimationManager::SetTrimPriorityComparison

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft