I was aware for some time now that R# offers some support for editing XAML but I didn’t know the following features until recently.When you create a StaticResource in XAML, R# is able to help you by generating some code for you. The famous R# “bubble” shows up offering various options to create the resource:
Then the resource is automatically created for you:
Note that it works with converter too:
R# 5.0 has been released a couple of weeks ago. Go ahead and grab your copy !
It has been a long time since my last post, I’m must admit I was both busy and trying to find something cool to blog about. Because I’ll be in holidays tomorrow, I decided to take some time to build a sample application that demonstrates a feature of WPF I’m going to use soon.
In the sample application (source code available here), you will be able to play with the BezierSegment class. I created a simple control that wrap the BezierSegment into something more easy to visualize.The application allows you to drag and drop points and to animate the line.
Here is the result:
I hope you’ll like it ! The reason I’m going to use this class is in a diagramming control (like Visio) to connect shapes together…
Download the source code.
MIX09 is now over and the good news is that we can watch all sessions that have been recorded online !
I didn’t have time yet to watch all sessions I’m interested in, but I already saw “What”s new in WPF 4” video (available here).
Here are the important points of this session regarding the future of WPF:
- Lot of new things are coming in WPF4: Text clarity improved, Multi-touch, Windows7 integration, Ribbon control, Focus management improvements, Visual State Manager, Client profile, Themes, Chart controls and a lot of bug fixes…
- WPF4 will come together with .Net4 which brings its own set of cool new stuff: Dynamic Language, MEF, F#, parallel library
- WPF will be the best choise for RAD under Windows7: Multi-touch, Taskbar integration, Ribbon, Common dialogs, File explorer customization…
- Multi-touch support: UIElement changes to manage touch related events, touch support is added for some controls (ScrollViewer)
- New composition API: developers can control graphical elements cached in video memory
- Controls that are currently available in the WPF toolkit will be integrated into the platform (DataGrid, DatePicker…) – moreover an update of the toolkit has just been released
- Developers tools are improved: VS2010 and Blend3 helps the usage of WPF (databinding support…)
- .Net4 will come with a new XAML parser: faster, extensible, public API to manage BAML format
- .Net4 XAML language has new XAML features: support for generics, better references by name
I hope will see a CTP soon so that we’ll start playing with those new features 🙂