天天看點

背水一戰 Windows 10 (16) - 動畫: ThemeAnimation(主題動畫)

<a href="http://files.cnblogs.com/webabcd/Windows10.rar">[源碼下載下傳]</a>

背水一戰 Windows 10 (16) - 動畫: ThemeAnimation(主題動畫)

介紹

背水一戰 Windows 10 之 動畫

PopInThemeAnimation - 控件出現時的動畫

PopOutThemeAnimation - 控件消失時的動畫

FadeInThemeAnimation - 控件淡入的動畫

FadeOutThemeAnimation - 控件淡出的動畫

PointerDownThemeAnimation - 滑鼠(手指)在控件上按下時的動畫

PointerUpThemeAnimation - 滑鼠(手指)在控件上擡起時的動畫

SwipeHintThemeAnimation - 控件的 Swipe 動畫(當你的控件在收到 Swipe 後會做響應時)

SwipeBackThemeAnimation - 控件的 Swipe 動畫(當你的控件在收到 Swipe 後不需要做任何響應時)

RepositionThemeAnimation - 控件重新定位時的動畫

SplitOpenThemeAnimation - 打開“拆分”控件的動畫

SplitCloseThemeAnimation - 關閉“拆分”控件的動畫

DrillInThemeAnimation - 有層次關系的,從上級到下級的導航動畫(master 到 details)

DrillOutThemeAnimation - 有層次關系的,從下級到上級的導航動畫(details 到 master)

DragItemThemeAnimation, DragOverThemeAnimation, DropTargetItemThemeAnimation - 顧名思義的一些動畫效果,用于集合類的控件

示例

1、示範主題動畫之 PopInThemeAnimation, PopOutThemeAnimation

Animation/ThemeAnimation/PopInPopOut.xaml

Animation/ThemeAnimation/PopInPopOut.xaml.cs

2、示範主題動畫之 FadeInThemeAnimation, FadeOutThemeAnimation

Animation/ThemeAnimation/FadeInFadeOut.xaml

Animation/ThemeAnimation/FadeInFadeOut.xaml.cs

3、示範主題動畫之 PointerDownThemeAnimation, PointerUpThemeAnimation

Animation/ThemeAnimation/PointerDownPointerUp.xaml

Animation/ThemeAnimation/PointerDownPointerUp.xaml.cs

4、示範主題動畫之 SwipeHintThemeAnimation, SwipeBackThemeAnimation

Animation/ThemeAnimation/SwipeHintSwipeBack.xaml

Animation/ThemeAnimation/SwipeHintSwipeBack.xaml.cs

5、示範主題動畫之 RepositionThemeAnimation

Animation/ThemeAnimation/Reposition.xaml

Animation/ThemeAnimation/Reposition.xaml.cs

6、示範主題動畫之 SplitOpenThemeAnimation, SplitCloseThemeAnimation

Animation/ThemeAnimation/SplitOpenSplitClose.xaml

Animation/ThemeAnimation/SplitOpenSplitClose.xaml.cs

7、示範主題動畫之 DrillInThemeAnimation, DrillOutThemeAnimation

Animation/ThemeAnimation/DrillInDrillOut.xaml

Animation/ThemeAnimation/DrillInDrillOut.xaml.cs

8、示範主題動畫之 DragItemThemeAnimation, DragOverThemeAnimation, DropTargetItemThemeAnimation

Animation/ThemeAnimation/DragItemDragOverDropTargetItem.xaml

OK

繼續閱讀