110 likes | 264 Views
Windows Presetation Foundation (WPF) 1. Introduction. 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.
E N D
Windows Presetation Foundation (WPF) 1. Introduction
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/
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/
Controls in WPF are Composable 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. 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. http://www.wpftutorial.net/
WPF Development Tools Microsoft provides two development tools for WPF applications. Visual Studio – Code Developer Environment Expression Blend – Designer Tool 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. http://www.wpftutorial.net/
Collaboration between Designers & Developers translation translation http://windowsclient.net/wpf/white-papers/thenewiteration.aspx
Simple WPF Application – Hello WPF! <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"> <Grid> <Button Height="23" Margin="104,107,99,0" Name="button1" VerticalAlignment="Top" Click="button1_Click">Say Hello</Button> <TextBox Height="23" Margin="80,70,78,0" Name="textBox1" VerticalAlignment="Top" /> </Grid> </Window> http://www.wpftutorial.net/
WPF Training Videos WPF Roadmap WPF4 Plumbing & Intrernals Text to Speech in WPF http://mschnlnine.vo.llnwd.net/d1/pdc08/WMV-HQ/PC46.wmv http://microsoftpdc.com/Sessions/CL10?type=wmv http://windowsclient.net/learn/video.aspx?v=299630 http://www.wpftutorial.net/