Metro and WinRT for the Silverlight/WPF Developer SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, February 2 nd 2012 -

Slides:



Advertisements
Similar presentations
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Advertisements

Metro and WinRT for the Silverlight/WPF Developer Part 2 SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, February 2 nd
Win8 on Intel Programming Course Win8 for developers, in detail Cédric Andreolli Intel.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
What is jQuery Mobile? How to use it? Doncho Minkov Telerik Corporation Technical Trainer.
Windows 8 How to Navigate the Windows 8 Start Screen with Your Mouse and Keyboard Shortcuts Bill James, APCUG, Region 8 Advisor.
Windows 8 Introduction Mark Rosenberg Development Instructor New Horizons.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
© by Pearson Education, Inc. All Rights Reserved.
Windows 8 Tips & Tricks for XAML based Windows Store App Ronnie Saurenmann Microsoft
Windows Core OS Services JavaScript (Chakra) C C++ C# VB Metro style apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics.
CISC 474: Advanced Web Technologies HTML5 & CSS3, & Responsive Design.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Examples Used by Built by Distribution Windows RT Windows 8 (x86) Public apps Management infrastructure cloud Custom LOB apps application delivery.
‘Metro’ / Modern – ‘WinRT’ Also known as ‘Windows Store Apps’ --o-0-o-- Windows 8 comes as two parts Win32 and WinRT The Traditional Desktop is Win32 The.
Win8 on Intel Programming Course Modern UI : Features Cédric Andreolli Intel Software.
Building Metro style UIs Paul Gusmorino Lead Program Manager Microsoft Corporation DEV354.
Building Windows 8 Apps with HTML & JavaScript Jaime Rodriguez Principal
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
WinRT and Windows 8 Sergey Barskiy Principal Consultant, Magenic.
Beautiful Sites and Apps Easy-to-build, Touch-First Interactivity Engaging Page Layouts Better Client/Server Data Transfer Powerful Local Data and Offline.
Integrate your game with Windows platform Vladimir Kolesnikov Technical Evangelist
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Designing metro style apps for Windows 8 A walkthrough some UI / UX best practices Lanny Geffen, Creative Director, Digiflare.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Design and Layout for Windows 8 and Windows Phone Style Apps Shane Morris Automatic Studio DEV221.
Windows 8 Hot or Not Piotr Włodek. Agenda MetroCharms Contracts WinRT App Execution Environment Motion Summary.
Studio for WinRT XAML Russ Senior Developer Evangelist Greg Product Manager
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
Starting your course from scratch January Outline Should already know Moodle basics Layout best practice Moodle course formats Using blocks Key.
Jeff From 5 to 8 building Windows 8 Apps with HTML5 and JavaScript.
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
Windows 8 Tips & Tricks for XAML based Windows Store App Ronnie Saurenmann Microsoft
Strategies for Building Mobile Apps Using ArcGIS API for JavaScript Andy Gup, Lloyd Heberlie.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Windows 8 Apps Guy Burstein Technical Evangelist, Microsoft
Windows Core OS Services JavaScript (Chakra) C C++ C# VB Metro style apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics.
Developer Day Welcome to TechDays Lausanne, Ronnie Saurenmann Technology Evangelist, Microsoft Switzerland.
Windows Store apps… lots of choices Windows Store Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media JavaScript.
JAVASCRIPT WITH A VIEW Jordan Knight Solution Architect Xamling SESSION CODE: WEB305 (c) 2011 Microsoft. All rights reserved.
Windows 8 Ronnie Saurenmann Technical Evangelist Microsoft Switzerland
Building Windows Runtime Components in C++ Harry Pierson Program Manager, Windows Runtime Experience Team Microsoft Corporation.
Switch on the LightSwitch Gill Cleeren Microsoft Regional Director / Silverlight MVP Ordina Belgium
HelloWorld Create a window store App Part 3: Navigation, layout, and views Follow the tutorial :
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
0 Developing for Windows 10 Tony Champion Champion DS.
1 PowerPoint Lesson 1 PowerPoint Basics Microsoft Office 2013: Introductory Pasewark & Pasewark.
A gentle introduction to Bootstrap TDAP Jeremy Shafer Department of MIS Fox School of Business Temple University Spring
DES201 - Developers and Designers collaboration Level 200 Aude Mousset Artistic director i-Breed - France Dick Lantim User eXperience Advisor Microsoft.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Windows 8 App Development with XAML
5/2/2018 1:53 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
50 Performance Tricks to Make your HTML5 apps and sites Faster
Adapting UI for Different Screens and Orientations
Build Windows 10 UWP MVVM Apps with Prism
Building beautiful and interactive apps with HTML5 & CSS3
Design Guidance for Windows Store Line-of-Business Apps
Tim Heuer Program Manager Microsoft Corporation
.NET and .NET Core 7. XAML Pan Wuming 2017.
Metro style apps using XAML: Make your app shine
Metro style apps using XAML: What you need to know
XAML Deep Dive for Windows & Windows Phone Apps Jump Start
Responsive Framework.
Build polished collection and list apps in HTML5
04 | UI Presentation & XAML
Jordan Knight Solution Architect - Xamling
Platform for Metro style Apps
Design Guidance for Windows Store Line-of-Business Apps
Christopher Harrison Jeremy Foster
Presentation transcript:

Metro and WinRT for the Silverlight/WPF Developer SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, February 2 nd

About myself... Gill Cleeren.NET ( Microsoft Regional Director Silverlight MVP Speaker (TechDays, TechEd, DevReach, DevDays, NDC Norway, Telerik Usergroup tour Sweden, UK and Scotland...) Visug user group lead ( Author (Silverlight 4 Data and services cookbook) – And a new one is being finished as we speak! Blog:

Some practical stuff Ask questions through Q&A window – Well answer them after the session or by personal mail A link to the video recording will be sent to you

You can win! Complete the post-webinar survey and win! You can win one of the 3 ebooks Getting Ready for Microsoft Silverlight Exam !

You can win! Tweet this webinar (comments, feedback...) using #webinarsilverlightshow tag! You can win one of the 3 ebooks Silverlight 4 Data and Services Cookbook (yep, thats my book )

New version coming soon! Updated for Silverlight 5 Over 115 recipes (thats 30 extra!) Extended to about 700 pages (thats 250 extra!) Covering WP7, MVVM, RIA Services and much more! More info:

This may look like the typical Introduction to Silverlight for developers or something...

But its really all about transferring your current knowledge to Windows 8.

This is the road to development on Windows 8 In this part... General XAML stuff for Windows 8 Old and new controls Finding your way with navigation

This is the road to development on Windows 8 In the second part (next week Thursday 9th February) Styling and templating Data in your Windows 8 apps – Getting data – Data binding The Application Lifecycle (Copyright 2010 Windows Phone 7) Tiles and more (Copyright 2010 Windows Phone 7) IOing in Metro apps Visit SilverlightShow.net

Focus on... Windows Core OS Services JavaScript (Chakra) C C++ C# VB Metro style Apps Communication & Data Application Model Devices & Printing WinRT APIs Graphics & Media XAMLHTML / CSS HTML JavaScript C C++ C# VB Desktop Apps Win32.NET / SL Internet Explorer

Before we begin... You can earn something!

For every Metro topic you already know, you get a badge! For every Metro topic you already know, you get a badge!

GENERAL XAML STUFF FOR WINDOWS 8 You can earn the General XAML for Windows 8 badge

The user is free to select any device, Windows 8 will support it. Your app needs to adapt to bring the best possible experience.

Size doesnt matter... (For XAML, that is) Minimum app resolution is 1024x768 Baseline resolution is 1366x768 On any resolution, your app should still look good – However, it should use the added screen estate

Were lucky to have XAML XAML supports fluid layout – Horizontal and vertical stretching of elements – Star-sizing (Yes, you know this already...)

XAML has fixed layouts

But fluid layouts are often a better choice

Windows 8 supports new and changing formats for apps: an app can be snapped while running.

Snap view is new... The Snapped app is always 320px wide User can choose to snap your app – Any app can be snapped, even a game Some apps dont make sense in snapped view, pausing them might be a good idea Context is maintained between several views – Continuous flow of context For perfect experience, the app can adapt to changing views Scrolling patterns change in Snapped Can be called by swiping or using Win +.

Grid Template Normal

Grid Template Snapped

And the user will rotate that device... He will (we all know that...). What will (or should we say Should?) your app do?

What about orientation? Windows 8 supports to be rotated (if supported by the device) – Dont go rotating your laptop, it wont work Apps behave consistently in orientation changes Apps can be tailored to be in specific orientations Apps can prefer and/or lock an orientation While in Portrait, snapping doesnt work

New properties for orientation … <VisualElements DisplayName="Application18" Logo="Images\Logo.png" SmallLogo="Images\SmallLogo.png" Description="Application18" ForegroundText="light" BackgroundColor="#222222" InitialRotationPreference="landscapeAndFlipped"> …

New properties for orientation protected override void OnLaunched(LaunchActivatedEventArgs args) { DisplayProperties.AutoRotationPreferences = DisplayOrientations.Landscape | DisplayOrientations.LandscapeFlipped; Window.Current.Content = new MainPage(); Window.Current.Activate(); }

Now what do I use? Resize – Window events…you will still get them Layout – View state changes: FullScreen, Filled, Snapped Orientation – Portrait Landscape changes

And do you still remember our good friend, the VisualStateManager? (Yes you do, remember you need to earn that badge!)

VisualStateManager VSM can be used in combination with layout A VisualState for a layout – FullScreen (this is normal and Landscape) – Filled – Snapped – Portrait VisualStateManager.GoToState() helps easy switching

GENERAL XAML STUFF FOR WINDOWS 8 DEMO

Congratulations, you earned a badge! General XAML for Windows 8

OLD AND NEW CONTROLS You can earn the Be in Control with Windows 8 badge

Controls Most old XAML controls are still supported: – Same control model supported in Silverlight, WP7 and WPF – Same properties (mostly) – Animations, Visual State Manager (VSM) and Parts model Well see VSM again later – Content and item controls still exist, new ones have been added – Updated to support both touch and mouse PointerXXX events – Styled with a Windows 8 style Similar to WP7 default styles

Most old controls made the transfer to Windows 8...

THE GOLDEN OLDIES IN WINDOWS 8 DEMO

Some are new and shiny! Or perhaps not that new...

Some of the new controls MediaPlayer ToggleSwitch ProgressRing

Hello WP7 ApplicationBar (close enough) Contains UI for app commands – Replaces your typical menus and toolbars Persistent, light dismiss or time dismiss Swipe in from top/bottom to display

THE NEW CONTROLS ON THE BLOCK DEMO

And then there were collections... Collections are everywhere, also in Windows 8...

New XAML list controls that work almost identically to old ones have been added in Windows 8.

New XAML List controls ListView GridView – Supports grouping Semantic zoom (JumpViewer) FlipView They support new selection models – Single – Multiple – Grouping

Just use them as you would today.

ListView Like a ListBox, but optimized for Windows 8 Supports virtualization Often handy in snapped view

Interaction model IsItemClickEnabled ItemClick event SelectionMode

CHANGE LISTBOX INTO LISTVIEW DEMO

GridView Allows creation of grid-based layouts Supports grouping of items (next slide) Has WrapGrid or VariableSizedWrapGrid

GR ouping in the GR idview Group content by natural ordering of lists – Needs to be done by the developer, control doesnt know on what it should group Visually appealing headers that fit in with Metro style UI

GRIDVIEW AND GROUPING DEMO

Semantic zoom... //some xaml here //some more xaml here...

SEMANTIC ZOOM DEMO

Congratulations, you earned a badge! Be in Control with Windows 8

FINDING YOUR WAY WITH NAVIGATION You can earn the The Navigator badge

Same concepts as Silverlight and WP7 Frame – Top-level container control – Contains the page control Page – Fills the entire content region of the frame – Can navigate to other pages within frame – Pages can share data...(!!!)

Navigation APIs are similar Windows.UI.Xaml.Navigation – NavigationCacheMode – NavigationMode – NavigationFailed – NavigationStopped – LoadCompleted Frame – GoBack() – GoForward() – Navigate() – Source Page – OnNavigateFrom – OnNavigateTo – Frame

Frames and pages in Windows 8 Frame control represents the navigation container – Always accessible via this.Frame NavigationService isnt available Page control represents discrete sections of content Share objects/data between your pages – This is new! Page 3

Some new stuff in the navigation area Page defines caching behavior on NavigationCacheMode Frame controls navigating history stack – GoBack() – GoForward() – Navigate() – NavigationMode

Transitions Integrate Windows 8 look and feel for transitions Frame supports content transitions – EntranceThemeTransition Other transitions available for different scenarios

NAVIGATION THROUGH WINDOWS 8 DEMO

Congratulations, you earned a badge! The Navigator

Summary Look what you already know! NEXT WEEK IN PART 2

Q&A

THANKS!

Metro and WinRT for the Silverlight/WPF Developer SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, February 2 nd