Presentation is loading. Please wait.

Presentation is loading. Please wait.

A Lap Around Windows Presentation Foundation (WPF) 4.5 Pete Brown | XAML and Gadget Guy Microsoft Corporation DEV335.

Similar presentations


Presentation on theme: "A Lap Around Windows Presentation Foundation (WPF) 4.5 Pete Brown | XAML and Gadget Guy Microsoft Corporation DEV335."— Presentation transcript:

1 A Lap Around Windows Presentation Foundation (WPF) 4.5 Pete Brown | pete.brown@microsoft.com XAML and Gadget Guy Microsoft Corporation DEV335

2 XAML WPF Metro XAML C# Silverlight Desktop / Browser Silverlight Windows Phone Metro XAML C++

3 4.0

4 .NET 4.5 Preview September 2011 Feature release With Windows 8 Developer Preview.NET 4.5 Beta February 29, 2012 Most changes With Windows 8 Consumer Preview.NET 4.5 RC May 31, 2012 Feature stable With Windows 8 Release Preview.NET 4.5 Release Coming with VS 11 Release Pre-installed on Windows 8 Go-Live License Included 4.5

5

6

7

8

9 enhanced

10 Ribbon

11 4.5 new

12 async and await

13 4.5 new

14 Binding Delay <Slider x:Name="ValueSlider" Minimum="0" Maximum="100" Margin="20" Height="25" Value="{Binding ElementName=ValueText, Delay=500, Path=Text, Mode=TwoWay}" /> <TextBox x:Name="ValueText" Text="50" Width="100" Height="50" FontSize="20" HorizontalAlignment="Center" />

15 Binding Delay

16 4.5 enhanced

17 4.5 new

18 Static Binding Property= " {Binding Path=(namespace:class.property)} " public static event EventHandler StaticPropertyChanged;

19 Binding to Static Properties

20 4.5 enhanced

21 Event Weak References

22 4.5 enhanced

23 4.5 new

24 Collection Synchronization public ObservableCollection Stocks { get; private set; } private object _stocksLock = new object(); public MainViewModel() { Stocks = new ObservableCollection (); BindingOperations.EnableCollectionSynchronization (Stocks, _stocksLock); }

25 Virtualization and Cross- Thread Access

26 4.5 new

27 4.5 new

28 4.5 new

29 Shaping

30 DEV353 Building Metro style Apps with XAML (Tim Heuer) Find me right after this session at bookstore for SL5 in Action book signing DEV216 MVVM in XAML: Simple and Easy (Paul Sheriff) DEV369 Creating LOB Metro style Apps in XAML (Jeffrey Ferman) blog: http://10rem.net | twitter: @pete_brown | pete.brown@microsoft.com

31 Visual Studio Home Page :: http://www.microsoft.com/visualstudio/en-ushttp://www.microsoft.com/visualstudio/en-us Jason Zander’s Blog :: http://blogs.msdn.com/b/jasonz/http://blogs.msdn.com/b/jasonz/ Facebook :: http://www.facebook.com/visualstudiohttp://www.facebook.com/visualstudio Twitter :: http://twitter.com/#!/visualstudiohttp://twitter.com/#!/visualstudio Somasegar’s Blog :: http://blogs.msdn.com/b/somasegar/http://blogs.msdn.com/b/somasegar/

32 Connect. Share. Discuss. http://northamerica.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn

33 Required Slide Complete an evaluation on CommNet and enter to win!

34 Scan the Tag to evaluate this session now on myTechEd Mobile

35

36


Download ppt "A Lap Around Windows Presentation Foundation (WPF) 4.5 Pete Brown | XAML and Gadget Guy Microsoft Corporation DEV335."

Similar presentations


Ads by Google