Advanced Windows Store App Development using C# Jump Start Jerry Nixon | Microsoft Developer Evangelist Daren May | President & Co-founder, Crank211
Microsoft Developer Evangelist –Reaching Professional & Student Communities –Teaching Developers about Windows Phone –Teaching Developers about Windows 8 –Teaching Developers about XAML Meet Jerry Nixon | Colorado
President & Co-founder, Crank211 –Specializes in designing and building next-level digital experiences Prior to starting Crank211… –CTO and VP Operations for software consultancy –Practice lead for EMC Consulting –Leveraged Microsoft technologies since Visual Studio.NET betas –Developing XAML-based solutions since the heady days of “Avalon” (the early name for WPF) Meet Daren May
Agenda for the Day First HalfSecond Half 01 | Animations05 | Advanced Contracts Pt | Responsive Design06 | Advanced Contracts Pt | Branding07 | Media 04 | Reusable Controls08 | Advanced Features ** MEAL BREAK **
Seasoned to Intermediate Developers –Accelerated coverage of C# fundamentals expected on Microsoft Exam Exam Suggested Prerequisites/Supporting Material –Accelerated version of Microsoft course 20485A, a five-day course (which includes hands-on labs).course 20485A –We recommend developers new to C# or who need hands-on experiences take this course with a Microsoft Learning Partnerthis course with a Microsoft Learning Partner Setting Expectations
Microsoft Virtual Academy –Free online learning tailored for IT Pros and Developers –Over 1M registered users –Up-to-date, relevant training on variety of Microsoft products “Earn while you learn!” –Get 50 MVA Points for this event! –Visit –Enter this code: WinAdvC (expires 6/23/2013) Join the MVA Community!
Visit xamlShow on CodePlex – –Bookmark this link “Microsoft Virtual Academy” section… –Click “Download C Sharp Demos” link –This link will change, so click the link from each time Download Code Samples
01 | Animations and Transitions Jerry Nixon | Microsoft Developer Evangelist Daren May | President & Co-founder, Crank211
Agenda for the Day First HalfSecond Half 01 | Animations 05 | Advanced Contracts Pt | Responsive Design06 | Advanced Contracts Pt | Branding07 | Media 04 | Reusable Controls08 | Advanced Features ** MEAL BREAK ** Visit xamlShow on CodePlex
Microsoft Virtual Academy Transforms
2D Transform Rotate Scale Skew Translate (move) Perspective Transform Element.Projection.ProjectionPlan e –RotateX –Rotate Y –Rotate Z Matrix2D Render Transform
Origins –Element.RenderTransformOrigin – 0,1 –Transform.CenterX (& Y) - pixels Projection –CenterOfRotationX (& Y) –GlobalOffsetX (& Y) – Screen Axis –LocalOffsetX (& Y) – Object Axis Advanced transforms
Microsoft Virtual Academy Animations
Animations DoubleAnimation [UsingKeyFrames] PointAnimation [UsingKeyFrames] ColorAnimation [UsingKeyFrames] ObjectAnimation [UsingKeyFrames] –Built-in Attached Properties (Canvas.Left) Easing functions Storyboard objects
Independent Criteria Duration is zero seconds Target property is Opacity Targets Transform, Projection, Clip Canvas.Left & Canvas.Top SolidColorBrush.Color ObjectAnimationUsingKeyFrame s EnableDependentAnimation CPU UI Thread GPU Composition
Custom animation
Microsoft Virtual Academy Animation library
Windows Runtime animation library Element Transitions AddDeleteThemeTransitio n ContentThemeTransition EntranceThemeTransition ReorderThemeTransition RepositionThemeTransitio n Theme Transitions DropTargetItemThemeAnimation FadeInThemeAnimation FadeOutThemeAnimation PointerDownThemeAnimation PointerUpThemeAnimation PopInThemeAnimation PopOutThemeAnimation RepositionThemeAnimation SplitCloseThemeAnimation SplitOpenThemeAnimation SwipeBackThemeAnimation SwipeHintThemeAnimation
Animation library
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.