Download presentation
Presentation is loading. Please wait.
Published byCalvin Sparks Modified over 9 years ago
1
Jaime Rodriguez | Microsoft Principal Technical Evangelist Laurent Bugnion | IdentityMine Senior Director XAML Deep Dive for Windows & Windows Phone Apps Jump Start
2
Jaime Rodriguez | @jaimerodriguez Principal Technical Evangelist More than 15 years experience building Apps Focused on Microsoft partners and customers with emerging technologies Helping developers with web, iOS and Android backgrounds to bring their existing apps to the Windows Store. .NET, Silverlight, Windows Phone leveraging both C#/XAML and HTML/CSS
3
Laurent Bugnion | @Lbugnion Senior Director Seventh year as a Microsoft Most Valuable Professional (MVP) and his first year as a Microsoft Regional Director Most prominent experts worldwide for XAML, Expression Blend and the MVVM pattern Based in Zurich Switzerland
4
Course Topics XAML Deep Dive for Windows & Windows Phone Apps Jump Start 01 | Intro to XAML 02 | XAML UI Elements 03 | Controls 04 | Panels & Layout 05 | Data Binding 06 | MVVM 07 | Windows Personality Controls
5
Setting Expectations New and seasoned developers Developers with web, iOS and Android backgrounds Bringing existing non Windows apps to the Windows Store
6
Microsoft Virtual Academy Free online learning tailored for IT Pros and Developers Over 1.2M registered users Up-to-date, relevant training on variety of Microsoft products “Earn while you learn!” Get 50 MVA Points for this event! Visit http://aka.ms/MVA-Voucherhttp://aka.ms/MVA-Voucher Enter this code: XAMLJS (expires 8/12/2013) Join the MVA Community!
7
Module 1 – intro to XAML
8
demos
9
XAML Basics
10
e X tensible A pplication M arkup L anguage Serialization and Initialization format <Activity x:TypeArguments="x:Int32" x:Class="Add" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" >
11
XAML - User Interface Declarative Toolable Recommended <Page x:Class="App12.MainPage"…> <Button x:Name="myButton" Style="{StaticResource PinkButton}" Content="{Binding data.buttonName}" Click="OnButtonClick" Width="300" Margin="250" VerticalAlignment="Stretch">
12
Declarative Button b = new Button(); b.Width = 100; b.Height = 50; b.Content = "Click Me!"; b.Background = new SolidColorBrush( Colors.Green);
13
XAML is XML Elements represent objects Attributes represent properties or events Property Element Syntax Content Property syntax* Click Me! *class must have a ContentPropertyAttribute
14
Collections IList, IDictionary, and Arrays //powered by public GradientStopCollection GradientStops { get; set; } public sealed class GradientStopCollection : IList, IEnumerable
15
Collections + contentproperty Button 1 Button 2 Button 3 //Powered by [ContentProperty(Name = "Children")] public class Panel { public UIElementCollection Children { get; } }
16
TypeConverters Color Thickness Enumerators Uri Point
17
Markup Extensions
18
XAML Namespaces Maps from CLR namespaces to XAML <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App1" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup- compatibility/2006" xmlns:UI="using:Microsoft.Advertising.WinRT.UI" x:Class="App1.NamespacesPage" mc:Ignorable="d">
19
For the alpha geeks.. XAML Syntax In detail http://msdn.microsoft.com/en-us/library/ms788723.aspx XAML specification http://www.microsoft.com/en-us/download/details.aspx?id=19600
20
Visual Studio Tour
21
Compiling Xaml PartialClasses Compiler
22
Other XAML tools- later in the day Blend XAML SPY
23
WPF Silverlight For desktop Windows Phone Windows Store (aka Jupiter) UI frameworks in the “XAML” umbrella
24
©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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.