Browse by Tags
All Tags »
WPF (
RSS)
After publishing a Windows Phone tutorial and a Silverlight tutorial , I now bring you the WPF tutorial, for the sake of XAML-based technology completeness. This 37 chapters tutorial in Hebrew completely adapted to fit WPF desktop development and using relevant source code and screenshots. The tutorial is hosted on the great Hebrew developers community site: WebMaster.org.il The tutorial is based on WPF 4 and it teaches desktop development from the first step, using Visual C# 2010 Express , provided...
Introduction So you want to handle somehow all the unhandled exceptions in your application. Usually you want to accomplish one of the following: Log the exception for later diagnostics Present the user an unhandled exception UI, nicer than the default You heard there’s an event you should register, or maybe you find one by mistake, but is it the correct one? Did you know there are four (!) different events for handling unhandled exceptions in the .NET framework? So what is the difference between...
What’s the story? You want to convert an enum value to a bitmap image. That’s easy, here’s a solution Usually you would simply create a new value converter which has some custom code (e.g. a switch –case statement) to convert from the enum value to the relevant image. Is there a better solution? How many times have you written this kind of converter, the kind that takes a value and maps it to another value? Well, no more! I present to you: DictionaryValueConverter . A Converter that lets you define...
In the last screencasts we've seen how to use and implement IValueConverter and how to use Multi-Binding for advanced data binding scenarios. This time we continue with advanced binding and explore the benefits of PriorityBinding, a useful binding gem feature that lets you define multiple sources for your binding target value, with priorities. Please notice that the screencast was recorded in Hebrew, but the demo is clear enough to be watched without understanding a word. You can watch the screencast...
In my last two screencasts I showed how you can use and implement IValueConverter to control the data binding process. This time we continue our exploration of the data binding customizations and see what does multi-binding mean and how to use and implement IMultiValueConverter . Please notice that the screencast was recorded in Hebrew, but the demo is clear enough to be watched without understanding a word. You can watch the screencast on YouTube HD here . Or here, embedded in my blog: ...
This screencast is a direct continuation of the previous one, where I showed how to use an object implementing IValueConverter in WPF. In this screencast I show how to implement IValueConverter to provide custom logic when performing data binding. Please notice that the screencast was recorded in Hebrew, but the demo is clear enough to be watched without understanding a word. You can watch the screencast on YouTube HD here . Or here, embedded in my blog: On my next screencast we will...
Recently, I've recorded some screencasts that demonstrates common techniques when implementing line-of-business applications in WPF. In the coming month, each week, I will release a new screencast on a topic of choice. I've decided to start my screencasts with a few common binding techniques. In the first screencast I give a simple demonstration on how to use IValueConverter in a WPF application. Please notice that the screencast was recorded in Hebrew, but the demo is clear enough to be...
Introduction Every WPF developer knows the situation where you have a large line-of-business application, you’ve implemented all the features and when you finally run it on real data – it runs s-l-o-w. Optimization Time! Optimization for performance is fun since a 1% change of code gets you 99% change in performance. However, finding the one location you should change can be a pain. This is why we’ve invented performance profilers. Profilers can help you pin-point the problem. WPF? WPF applications...
Recently I came across the need to customize the look of the standard message box in the application. To do this I’ve decided to create a new class named WPFMessageBox , which will have the same interface as the standard one, will behave the same way and finally would be fully customizable, the WPF way, using control templates. Following is the result of this effort. Note: In the image you can see an example for a message box customization. Of course you are limited only by your imagination. The...
Today (24.05.2011) I’ve delivered two sessions about “ Using Windows 7 Features in .NET applications ” in Sela Haifa Open House which was presented in Philips building in Haifa. Dear Philips (and other) developers, I had a great time presenting today's Windows 7 sessions. Thank you for coming! In the sessions I talked about how to use new Windows 7 features like the new Taskbar, sensors API, the Ribbon control supplied with Windows 7, Application restart and Recovery and plenty of Multi...
Sela Technology Center is proud to present Sela Developer Days 2011 which will be held on June 26-30 . One stage - hottest topics - Israel and world lead experts . A rare opportunity to hear all about the next big things in our technological world. 25 full-day workshops 15 lead experts 5 days You can find the full agenda on the conference website . Although I recommend ALL the lectures, I believe my blog readers will most enjoy the following workshops: 26/06 Silverlight 5 by Alex Golesh 27/06 LOB...
Yesterday (18.05.2011) I’ve delivered two sessions about “ Using Windows 7 Features in .NET applications ” in the Israeli .NET User Group, at Microsoft offices in Ra’anana. I want to thank all the attendees who came to hear the sessions, I truly enjoyed it. In the sessions I talked about how to use new Windows 7 features like the new Taskbar, sensors API, the Ribbon control supplied with Windows 7, Application restart and Recovery and plenty of Multi-Touch. We’ve seen numerous examples in C++ Win32...
In case you missed one of my previous Windows 7 sessions, here is your chance to catch it. On May 24th I’ll be giving two sessions about “ Using Windows 7 Features in .NET Applications ”, as part of Sela Haifa Open House . On the first session “ The 7 Show: From XP to Win 7 ” we will talk about new features in Windows 7 that will modernize your application. We will learn how to work with the new Taskbar, how to work with Sensors, how to use the Ribbon interface and more. The session will be rich...
On May 18th I’ll be giving two sessions about “ Using Windows 7 Features in .NET Applications ”, as part of the monthly .NET User Group sessions, in Microsoft offices, Ra’anana, Israel. On the first session “ The 7 Show: From XP to Win 7 ” we will talk about new features in Windows 7 that will modernize your application. We will learn how to work with the new Taskbar, how to work with Sensors, how to use the Ribbon interface and more. The session will be rich with examples in .NET, WPF and WinForms...
This session was delivered by Laurent Bugnion , the creator of MVVM Light . In this session Laurent talked about advanced MVVM topics that every WPF/SL developer face sooner or later. Laurent used a demo application an showed how to solve some common issues. For example, how can one share view-models between several different platforms (Silverlight / WP7), short answer: add shared files as links. Also discussed: what strategy should be used to create view-models and exposes them. Short answer: Either...
More Posts
Next page »