Download presentation
Presentation is loading. Please wait.
1
Windows Presetation Foundation (WPF) 1. Introduction
2
Overview The Windows Presentation Foundation is part of the.NET framework 3.0 and higher. WPF combines application UIs, 2D graphics, 3D graphics, documents and multimedia into one framework. WPF uses a vector based rendering engine that takes advantage the hardware acceleration available in high-performance graphic cards. WPF applications are scalable and resolution independent. http://www.wpftutorial.net/
3
Separation of Appearance and Behavior WPF separates the appearance of an user interface from its behavior. The appearance is generally specified in the Extensible Application Markup Language (XAML), the behavior is implemented in C# (or VB). The two parts are tied together by databinding, events and commands. Appearance and behaviour are loosely coupled Designers and developers can work on separate models Graphical design tools can work on XML documents instead of parsing code http://www.wpftutorial.net /
4
Controls in WPF are Composable
5
http://www.wpftutorial.net / Customizable Because of the strict separation of appearance and behavior you can change the look of a control without affecting the behavior. The concept of styles let you skin controls. Templates let you replace the appearance of a control.
6
http://www.wpftutorial.net / Resolution Independence Measurements in WPF are logical units rather than pixels. A logical unit is a 1/96 of an inch. If you increase the resolution of your screen, the user interface stays the same size while increasing resolution and therefore sharpness. Since WPF builds on a vector-based rendering engine user interfaces are scaleable.
7
http://www.wpftutorial.net / WPF Development Tools Microsoft provides two development tools for WPF applications. Visual Studio – Code Developer Environment Expression Blend – Designer Tool
8
http://www.wpftutorial.net / Microsoft Expression Studio Expression Blend is built to create user interfaces in WPF and Silverlight. It builds the bridge between designer and developers. It can open VisualStudio solutions Expression Design is a leightweight version of Adobe Illustrator to create and edit vector graphics. Expression Media is built to encode, cut and edit video files and prepare them for silverlight streaming Expression Web is Microsoft next generation of HTML and Javascript editor. Its the replacement for Frontpage.
9
http://windowsclient.net/wpf/white-papers/thenewiteration.aspx Collaboration between Designers & Developers translation
10
http://www.wpftutorial.net / <Window x:Class="WPF_0.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" Height="300" Width="300"> <Button Height="23" Margin="104,107,99,0" Name="button1" VerticalAlignment="Top" Click="button1_Click">Say Hello Simple WPF Application – Hello WPF!
11
http://www.wpftutorial.net / http://mschnlnine.vo.llnwd.net/d1/pdc08/WMV-HQ/PC46.wmv http://microsoftpdc.com/Sessions/CL10?type=wm v http://windowsclient.net/learn/video.aspx?v=29963 0 WPF Training Videos WPF Roadmap WPF4 Plumbing & Intrernals Text to Speech in WPF
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.