Extract Images from Resx file

Friday, March 23, 2012

Hi, This article is not in the new development issues, but an old school issue. I started an year ago to migrate most of my application from  Windows Forms to WPF platform. it was good most of the images also transferred to anew and sexy look. BUT, than tow weeks ago I found old window that I needed to migrate and there was not problem with the images, but that in the past we used the ImageList structure and as you know the image stored the image data imbedded in the Control Resx...

WPF: Localization Guideline

Thursday, April 1, 2010

So, What is new? We all know that the WPF Application are pro – localization architecture and we can set it by BAML or Resx (I prefer to use the *.resx files). Till now I believe that I’m an old news, but this post is not about how can i do it, but I should I do it. In this post I will set the localization by *.resx files and use the MVVM design pattern...
no comments

WPF: CustomControl or UserControl?

Tuesday, March 23, 2010

While designing anew window, WPF architecture, I needed a NumericUpDown Control. Since the current SDK is missing this control I have found myself asking the question…   CustomControl or UserControl? So, what is the main difference and what should we use?! By MSDN: UserControl: Provides a simple way to create a control. CustomControl: Represents the base class for user interface (UI) elements that use a ControlTemplate to define their appearance. So, now we can see that the main difference between them is that the CustomControl basically build by using the ControlTemplate....
one comment

Binding ValidationRules Implementation

Thursday, April 24, 2008

Hi, While creating a WPF application I used the Binding element to bind between my Model and my GUI Viewer. As you know the Binding element gives us the ability to invoke a validation rule collection for the binding activity before actually update the Model element, the binded Property. I see basic two options to implement the Binding ValidationRules 1. In the scope of the ValidationRule implement class 2. On the Model For this...