Windows Presentation FoundationLive Club OUPhạmPhương NguyênMicrosoft Student PartnerPham.Nguyen@hotmail.comphamnguyenit.wordpress.com
AgendaOverview WPF1WPF4 - Lots of Good Stuff2Controls in WPF3Question ????4
.Net FrameworkDataPresentationCommunicationsWorkflowWebBase Class Library.NET Framework 4Common Language Runtime
.Net FrameworkDataPresentationCommunicationsWorkflowWebBase Class Library.NET Framework 4Common Language Runtime
Over View???Why ?????what ?????Problem ????????
Resolve the problem
demo WikipediaExlorer
What is WPF?WPF – Windows Presentation FoundationMộtthưviệnthốngnhấtdànhchoviệcxâydựngcácứngdụngtrênnền Windows (kểcảtrênnền Web).UI
Documents
Media
Graphics….Declarative programmingWhat is WPF?
Why WPF?MFCALT?WPFGDI+DirectXMPlayerOpenGLFlashHTML
Why WPF?DesignerLook, behavior, brand,and emotional connectionDeveloperFunction, deployment, data,security, operational integrity
How WPF?XAMLDesignerLook, behavior, brand,and emotional connectionDeveloperFunction, deployment, data,security, operational integrity
How WPF?<Button Width="100">OK  <Button.Background>LightBlue  </Button.Background></Button>Button b1 = new Button();b1.Content = "OK";b1.Background = newSolidColorBrush     (Colors.LightBlue);b1.Width = 100;Dim b1 As New Buttonb1.Content = "OK"b1.Background = New _SolidColorBrush _      (Colors.LightBlue)b1.Width = 100XAML làgì?XAML == “Extensible Application Markup Language”Ngônngữđánhdấucócấutrúc XML đểxâydựngứngdụng, cácthànhphầncủaứngdụng.Mã XAML và source code hoàntoàn “độclập” nhau
How WPF?Tốithiểu .NET Framework 3.0Visual Studio 2008 hoặccaohơnExpression Blend
Cácthànhphần UI trong WPFLayoutsControlsLabel, TextBox, Buttons, ComboBox, ProgressBar, …
Windows Presentation FoundationLive Club OUWPF 4.0 - Lots of Good StuffPhạmPhương NguyênMicrosoft Student PartnerPham.Nguyen@hotmail.comphamnguyenit.wordpress.com
Lots of Good Stuffwww.themegallery.comClient Profile
Data controls
Accessibility Improvements
Chart Controls
Control Themes
Hundreds of good bug fixes…
Plus all the goodness of .NET4!
Dynamic Language Support
MEF
Globalization and NLS improvements
Managed / Native Code interop
More…
Cached compositions
Text clarity
Layout Rounding
ClickOnce improvements
Multitouch
Win7 Taskbar
Win7 Ribbon
Focus mgt improvements
Support for UIAccessible2
VSM integration
Full Trust XBaps
PS 3WPF4Windows 7FundamentalsFeatures for larger apps (like VS…)Tooling and workflow
WPF for Windows 7 Multi-TouchTaskbarRibbonCommon dialogsFile Explorer presence and customizationMore…Use these with .NET and via XAML in WPF
Multi-Touch in WPF UIElement changesThao tác các sự kiện (theo dõi và thông dịch viên)hệ thống cảm ứng cử chỉ các sự kiện (double-tap và rollover)Raw touch input events (for going to the metal)Multi-touch support in controlsScrollViewer cập nhật để chấp nhận những cử chỉ panCập nhật cơ sở kiểm soát được cảm ứng đa nhận thứcMulti-capture support (for more than one contact point at time)New multi-touch specific controls (e.g. ScatterView)Compatible with Surface SDK 2.0
Touch Development RoadmapNET 4.0 / Surface 2.0 ReleaseWindows 7 ReleaseNativeWin32ApplicationWinFormsApplicationWPF ApplicationSurface ApplicationSurface SDK1.0Surface SDK 2.0Multi-Touch ControlsSurface  Multi-Touch Controls & APIMulti-Touch APIWPF 3.5 SP1WPF 4.0WPF 3.5Managed Wrapper and InteropManaged Wrapper and InteropMulti-Touch API and ControlsSurface HardwareWindows 7Surface HardwareWindows VistaWindows 7Multi-Touch API
demo Multi-TouchDemo
WPF Taskbar IntegrationThumbnails toolbars Icon overlays Progress bars JumplistsWith XAML Support
WPF RibbonFeaturesFulfills office fluent UI licensing requirementsRibbon with resizing and layout behaviorRibbontabsRibbongroupsRibbonapplicationmenu (Pearl)QuickaccesstoolbarKeytipsDesign time support
WPF Tooling ImprovementsBlend3Visual Studio DesignerRAD databindingEasier autolayoutMarkup extension intellisenseMore property editors Improvements to XAML authoring and workflowVSMBehaviorsTransition animationsPrototyping tools
FundamentalsFramework deploymentApplication deploymentImproved interopText clarityLayout rounding/snappingMedia improvementsUIA – for accessibility and TFSGraphics performanceLocalization
GraphicsComposition API - give application authors fine grained control over caching rendered elements in video memoryAn input to a shader effectAn image brush to fill any arbitrary 2D shapeA texture on a 3D model
Layout RoundingUseLayoutRounding="True"Rounds an object’s coordinates on whole pixels
Client Profile Configurator ToolConfigurator tool http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=14962Client profile Configuration designer “How To” serieshttp://windowsclient.net/wpf/wpf35/wpf-35sp1-start-here.aspx
Controls WPF4DataGridDatePickerVSMFutureChart ControlsMore…
WPF4 and VS10Best way to take advantage of Windows 7Solid fundamentals:  Deployment and ubiquity, text clarity, interop, performance, controls, and completenessMuch improved tooling and designers with VS10 and Blend3Do Download the beta, demos and give us feedback
Windows Presentation FoundationLive Club OUControls in WPFPhạmPhương NguyênMicrosoft Student PartnerPham.Nguyen@hotmail.comphamnguyenit.wordpress.com
Kiếntrúccủa WPFUser Interface ServicesDocument ServicesXPS DocumentsApplication ServicesControlsData BindingPackaging ServicesDeployment ServicesLayoutBase ServicesCore PresentationXPS ViewerWindows Presentation FoundationXAML2DAudioImagingTextAccessibility3DVideoEffectsInput & EventingAnimationProperty SystemVisual Primitives
AgendaLayout ControlsSome Controls in WPFStyle và TemplateAnimationDataBindingEventOther Demo
www.themegallery.comLayout controlsCan useGridDockPanelWPF LayoutStackPanelCanvasWrapPanel

Windows Presentation Foundation