UI_ANIMATION_STORYBOARD_STATUS列舉 (uianimation.h)
定義分鏡腳本的狀態。
Syntax
typedef enum __MIDL___MIDL_itf_UIAnimation_0000_0002_0001 {
UI_ANIMATION_STORYBOARD_BUILDING = 0,
UI_ANIMATION_STORYBOARD_SCHEDULED = 1,
UI_ANIMATION_STORYBOARD_CANCELLED = 2,
UI_ANIMATION_STORYBOARD_PLAYING = 3,
UI_ANIMATION_STORYBOARD_TRUNCATED = 4,
UI_ANIMATION_STORYBOARD_FINISHED = 5,
UI_ANIMATION_STORYBOARD_READY = 6,
UI_ANIMATION_STORYBOARD_INSUFFICIENT_PRIORITY = 7
} UI_ANIMATION_STORYBOARD_STATUS;
常數
UI_ANIMATION_STORYBOARD_BUILDING 值: 0 腳本從未排程過。 |
UI_ANIMATION_STORYBOARD_SCHEDULED 值: 1 腳本已排定播放。 |
UI_ANIMATION_STORYBOARD_CANCELLED 值: 2 腳本已取消。 |
UI_ANIMATION_STORYBOARD_PLAYING 值: 3 分鏡腳本目前現正播放。 |
UI_ANIMATION_STORYBOARD_TRUNCATED 值: 4 分鏡腳本已截斷。 |
UI_ANIMATION_STORYBOARD_FINISHED 值: 5 腳本已完成播放。 |
UI_ANIMATION_STORYBOARD_READY 值: 6 腳本已建置並準備好進行排程。 |
UI_ANIMATION_STORYBOARD_INSUFFICIENT_PRIORITY 值: 7 排程分鏡腳本失敗,因為發生排程衝突,且目前排程的分鏡腳本優先順序較高。 |
備註
除非從OnStoryboardStatusChanged事件的處理常式呼叫IUIAnimationStoryboard::GetStatus,否則只會傳回下列狀態值:
- UI_ANIMATION_STORYBOARD_BUILDING
- UI_ANIMATION_STORYBOARD_SCHEDULED
- UI_ANIMATION_STORYBOARD_PLAYING
- UI_ANIMATION_STORYBOARD_READY
下圖說明這些狀態之間的轉換。
規格需求
最低支援的用戶端 | 適用于 Windows Vista 的 Windows 7、Windows Vista 和平臺更新 [傳統型應用程式 |UWP 應用程式] |
最低支援的伺服器 | 都不支援 |
標頭 | uianimation.h |
另請參閱
IUIAnimationStoryboard::GetStatus
IUIAnimationStoryboardEventHandler::OnStoryboardStatusChanged