A Lap Around Windows Presentation Foundation. Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows.

Slides:



Advertisements
Similar presentations
Sofia, Bulgaria | 9-10 October Developing An Advanced ASP.NET Server Control With Rich Design-Time Goksin Bakir Yage Ltd Microsoft Regional Director, MEA.
Advertisements

Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Brown University Swim Center
Microsoft SharePoint 2010 technology for Developers
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Dinko Jakovljević Microsoft Student Partner | BambooLab
Developing Rich Web Applications with Silverlight Mike Ormond Developer & Platform Group Microsoft Ltd
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Windows Presetation Foundation (WPF) 1. Introduction.
1 Moderne GUI og Silverlight Windows Presentation Foundation.
T.N.C.Venkata Rangan CMD, Vishwak Solutions Pvt. Ltd. Microsoft (MSDN) Regional Director, Chennai Microsoft MVP – Windows Live Platform Living with Heterogeneity.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Mike Henderlight Title: Program Manager.
Silverlight for Developers making it pass the glitz.
Introduction & Welcome Marcus Perryman Mike Taulty
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Powerful, modern desktops enable next generation applications Hardware acceleration brings real-time lighting, texturing and rendering Visual.
WinFX – A Lap Around the Windows Presentation Foundation Bart J.F. De Smet MVP Visual C#
WPF For PowerBuilder Developers
MVC New release IE8 Beta 1 Deep Zoom (sea dragon) Silver light 2.0 Beta 1 Expression Blend 2.5 Preview Instant Messaging API Enhancements to Virtual Earth.
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Microsoft Confidential Office as a Development Platform Tim Heuer
A Jumpstart to WPF by Kevin Grossnicklaus ArchitectNow.
1 Intro XAML Attribute syntax & property syntax Panels Reusable resources Controls Data binding Steen Jensen, spring 2014.
An Introduction to Silverlight Matt Harrington Developer Evangelist, Microsoft October 20, 2011.
Windows Presentation Foundation. Agenda Introduction Developing Applications WPF and WF interoperability Custom Controls Styles and Templates Data Binding.
Windows Presentation Foundation. Goal The goal of Windows Presentation Foundation (WPF) is to provide these advances for Windows. Included in version.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
Windows Presentation Foundation Adam Calderon Principal Engineer Interknowlogy LLC
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
Understand what kind of applications Windows Presentation Foundation can deliver See how Visual Studio 2008 & Microsoft Expression Blend work together.
DEV363 Smart Client: Getting the Most out of Windows Forms and WPF Brad Abrams Group Program Manager.NET Framework Team
Extending the Reach of your Applications Jeremy Boyd & John-Daniel Trask Mindscape.
1 Metro Style Apps in C++ Karthick 8 th May 2012.
Windows Presentation Foundation (WPF) Declare Your Next User Interface.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
TechEd /24/2017 2:42 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Presentation advances in.NET Framework 3.0 Mark Johnston Developer & Platform Group, Microsoft Ltd
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd
Microsoft UI Stack Ronnie Saurenmann Technical Evangelist, Microsoft Switzerland
Discover, Master, Influence1 Windows Presentation Foundation David Burela Senior Developer, Readify.
Developing ASP.NET AJAX Controls with Silverlight Barry Gervin Microsoft Regional Director John Bristowe Developer Advisor, Microsoft.
WPF – Windows Presentation Foundation what is it, what can you do with it and how do you get started.
C# kursus Rohde & Schwarz1 Moderne GUI Windows Presentation Foundation.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
1 Catching up on Rich Clients (round 1) Mike Ormond, Mike Taulty Developer & Platform Group Microsoft Ltd
1 Välkommen till Sommarkollo Windows Presentation Foundation Per Östman ISV Developer Evangelist
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
.NET Framework 3.0 Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation.
Microsoft’s Rich Web Technology XAML,WPF and WPF/E July, 2006 John Allwright.
Windows Presentation Foundation. User Experience: Recent Past Web HTML Sacrificed UX for portability, connectivity and simplicity 1997 – DHTML.
1 Beyond Silverlight with WPF Clients ( WPF : Windows Presentation Foundation ) Mike Taulty Developer & Platform Group Microsoft Ltd
DEV221 Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation.
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
Introduction to Avalon Mike Taulty Microsoft Ltd
Why Windows Presentation Foundation? Windows Presentation Foundation Unified approach to UI, Documents, and Media Integration as part of development.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Introduction ITEC 420.
Välkommen till Sommarkollo 2006
6/10/ :23 PM TOOL-504T A deep dive into Visual Studio 11 Express for designing Metro style apps using XAML Joanna Mason & Unni Ravindranathan Program.
XAML User Interface Creation in C#
WPF AKEEL AHMED.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Silverlight Technology
Windows Presentation Foundation
Windows Forms in Visual Studio 2005: An in-depth look at key features
Presentation transcript:

A Lap Around Windows Presentation Foundation

Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows Forms MFC Win32 HTML DirectX Data Binding

Windows Presentation Foundation provides… Unified approach to UI, Documents, and Media Integration as part of development and experience Integrated, vector-based composition engine Utilizing the power of the PC throughout the graphics stack Declarative programming Bringing designers directly into application development

Three “real-life” WPF Applications

Windows Presentation Foundation… “Windows Presentation Foundation is the future of Windows presentation technology” WPF is great for… Web sites that want to push the limits of user experiences Windows applications with complex data visualization scenarios However, other technologies are often still better choices today Windows Forms is still the best solution for mainstream rich client Windows applications Windows Forms is still the best solution for mainstream rich client Windows applications DirectX is still the platform for extremely intensive graphics (games, CAD applications) DirectX is still the platform for extremely intensive graphics (games, CAD applications) ASP.NET is the reach solution for server-based platform- agnostic applications ASP.NET is the reach solution for server-based platform- agnostic applications

Architecture

What is XAML? eXtensible Application Markup Language Declarative markup language for describing user interfaces

Why Declarative? vs. Hello World! Button btn = new Button(); btn.Background = Colors.Red; btn.Content = " Hello World! " ; this.Children.Add( btn ); Button btn = new Button(); btn.Background = Colors.Red; btn.Content = " Hello World! " ; this.Children.Add( btn );

Designer Developer Why have XAML?

First Look at XAML

Types of WPF applications Hosted in IE7 Installed on user’s system Partial trust Full trust Limited control of window Full control of window Online only Online / Offline Best deployed with ClickOnce Deployed with ClickOnce or MSI Browser Installed

A Browser-Based WPF App

Layout CanvasStackPanelDockPanelWrapPanelGrid

Layout Models in WPF

Controls All standard controls represented Some new controls Classes are unique to Windows Presentation Foundation System.Windows.Controls, not system.Windows.Forms.Controls

Style Lookless controls Provide default look-and-feel, can be overridden Logical Tree vs. Visual Tree Logical tree is a binary representation of the source XAML Visual tree is a scene graph which contains all the rendering data needed to compose the page Override the Visual Tree to style controls

Logical and Visual Trees <StackPanel> Cat Cat Dog Dog Hello World! Hello World! </StackPanel>

Actions Triggers Allow some UI events to be handled by XAML, rather than code-behind Useful for things like “mouse over” effects Events Controls support all standard events such as click, key press, selection changed, etc Events are handled in a code-behind file using either C# or VB

Controls / Styles / Actions Triggers

Data Binding Target Any property, any element Source CLR Object WPF Element ADO.NETXML Multiple models One Time One Way Two Way Control “Data Item” Property Binding Property

Putting it all together

XPS Content Fixed Documents High-fidelity fixed layout for precise printing and viewing WYSIWYG

Content Flow Documents Paginated, multi-column rich text

XPS Content

Co-existence with Windows Forms WPF ships with technology allowing for the creation of “hybrid” applications containing both WPF and Windows Forms content.

Goals of “Crossbow” Preserve existing Windows Forms investments Leverage existing ActiveX and 3 rd party controls Allow customers to migrate to WPF at their own pace, avoiding total rewrites

“Crossbow” Technology Services to support co-existence Unit conversions Focus and Keyboard management “Extensible property” management Two “host” controls WindowsFormsHostElementHost Simultaneous data source binding Extend Visual Studio’s designers

Limitations to “Crossbow” Limited to only one top-level control However, that control may be a container for many children Windows Forms controls will always appear atop WPF controls Limitation to Z-Order logic

Windows Presentation Foundation Resources Dev Center Guidelines Windows Presentation Foundation Home Microsoft Expression Interop / Migration