metro style apps in c++

10
1 Metro Style Apps in C++ Karthick 8 th May 2012

Upload: finna

Post on 13-Feb-2016

36 views

Category:

Documents


0 download

DESCRIPTION

Metro Style Apps in C++. Karthick 8 th May 2012. Agenda. Designing XAML UI What Why How Developing with C++ Demo. What XAML. EXtensible Application Markup Language Declarative XML-based language

TRANSCRIPT

Page 1: Metro Style Apps in C++

1

Metro Style Apps in C++

Karthick8th May 2012

Page 2: Metro Style Apps in C++

2

Agenda Designing XAML UI

• What• Why• How

Developing with C++ Demo

Page 3: Metro Style Apps in C++

3

What XAML EXtensible Application Markup Language Declarative XML-based language<Canvas xmlns="http://schemas.microsoft.com/client/2007"          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">  <TextBlock>Hello World!</TextBlock></Canvas>

Page 4: Metro Style Apps in C++

4

Benefits For WPF, SL and Windows Phone developers

• Utilize current skills• Reuse compatible assets

For those new to XAML• Powerful declarative programming model• Separation of UI layer and application logic• Expressive controls, layout, vector drawing• Comprehensive: Styles, templates, data binding,

animation• Extensive: Custom controls

Page 5: Metro Style Apps in C++

5

Why Unique differentiated experience Pleasing UI Great performance

Page 6: Metro Style Apps in C++

6

How Visual Studio Designer

• Creation• Layout• Property editing• Create and reuse resources• Configurable design time workspace• XAML editor and Intellisense

Page 7: Metro Style Apps in C++

7

Demo Default Metro style templates

• Grid Application • Split Application

UI editor Zoom and Pan Commonly used panes : Toolbox, Document

outline, Properties pane Containers (Stack Panel, Grid View,..) Controls (Button, List View, Image,..) Blend – Designer

Page 8: Metro Style Apps in C++

8

Benefits Work visually when it makes sense

• Fine tune layout• Experiment with property settings• Edit document hierarchy

Edit XAML directly for precise control of markup

Flexible design time environment

Ensure consistency by using resources

XAML UI created for C++ also works for C# and VB

Page 9: Metro Style Apps in C++

9

Resources“Building Windows Metro style apps in C++/XAML”– Vikas Bhatia, Joanna Mason

http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-479T

Page 10: Metro Style Apps in C++

10

Questions

?