Essential WPF

Browse by Tags

All Tags » Blend (RSS)
WPF 4 Session
Thank you for participating my WPF 4 and Blend 3 session at Microsoft, Ranana, Jan-21. You can download the presentation and demo files from SkyDrive .
Blend Behaviors via Attached Properties – Part 3
Recall my previous post, I’ve talked about how to implement custom Actions. In this post I would like to explain how to implement custom Triggers. As you may already know, trigger is the cause and action is the effect of that cause. The question is, why would you like to implement a custom trigger? So lets start with a little example: Blend 3 comes with only event triggers. But what if you want to invoke an action when property changes? For that reason you would like to implement a custom trigger...
Blend Behaviors via Attached Properties – Part 2
In my previous post I’ve talked about Blend 3 attached behaviors, and explained how to use them. In this post I would like to dive into more details, explaining the differences between Triggers, Actions and Behaviors types and how to create custom triggers. Triggers and Actions Actually blend 3 attached behavior comes in two flavors: Triggers and Actions Behaviors You can think of triggers and actions as cause-and-effect relationships. Trigger represents the cause. For example we want to do something...
Blend Behaviors via Attached Properties – Part 1
Up until Blend 3, UI designers had difficult time prototyping a real functional UI. The main problem was the lack of behaviors. Creating a UI prototype that deals with navigation, window creation on event, animation on data changes etc, usually ends up with source code development. And when it comes to coding, UI designers had to have kind of developer colleague. XAML Tools Over time, developers (like me :) created many XAML extensions using both XAML Markup Extensions and the powerful Attached Property...
<howto>Know that you're in design time mode</howto>
When you write markup extensions, or any other control that may work differently at runtime then design time, you may want to check if you’re in design time to pick the correct logic. In WPF, you can call the DesignerProperties.GetIsInDesignMode   attached property. In Silverlight, you may use the HtmlPage.IsEnabled property. This will work from both Blend and Cider designers. Example: if ( DesignerProperties .GetIsInDesignMode(textBox) {    return "In Design Time Mode" ;...
Blend It! - Visual Studio 2008 Add-In
Hi Guys! Now that Blend 3.0 is out I supposed that you wish to have an option to open a WPF solution directly from Visual Studio, without opening the solution folder and right-click on it to open with blend. This is why I’ve created the Blend It! Visual Studio Add-In. You can download it from here . In case that you’ve already installed it, all you have to do is to install it again and restart visual studio. From now on it will open your WPF solutions with Blend 3.0. Enjoy.
Open VS Solution With Blend
To all my students, conferences and lectures attendees, I’m glad to share with you my “Blend it!” Visual Studio 2008 Add-in. * Blend It! is a humble Visual Studio 2008 Add-in, loads into the solution menu and provides an option to open current solution with Microsoft Expression Blend 1.0, 2.0 or 2.5 CTP (and maybe future versions if Microsoft will not change the blend installation path registry key, and Blend.exe file name – although you can always change the Add-in configuration file manually :...
The Future of WPF - PDC08
Although Silverlight 2.0 is biting WPF in its tail, and Microsoft promotes Silverlight 2.0 for future LOB applications, and that Silverlight is planned to go out-of-prison (browser), there is a nice plan for WPF 4.0. I'll start by saying that few controls such as the long awaiting DataGrid , Calendar and DatePicker controls are now released, and you can download the toolkit from here . There is a new cool WPF Ribbon control which is currently CTP, and you can also download it from here . * In...
Demo from my Tech-Ed Session
Thanks a lot to all of you who participated in my WPF Data Binding lecture at Tech-Ed Israel 2008. I hope that you enjoyed and learned from my lecture. If you have any question about any of the topics I talked about, please feel free to ask here. As I promised, here is the Aquarium Demo in Visual Studio 2008 format. You can download and use it for non-commercial use. Here are several screen shots to remember: As for the presentation, it will be published soon in the Tech-Ed site .
Blend was Released!
The long awaited, WPF designing tool, Expression Blend is now Released! MSDN Subscribers are free to download it from Microsoft. Others, what can I say, should pay $499 :-), but it worth each $1.