This is a older blog which I am migrating, you can see how the older website looked like here. You can see on the Blog.Archive() navigation bar on the right of this page that I present the Year, Month and number of blogs which I have written each month. Everything worked fine from October 2010 […]
Read More →Archive for January, 2012
Add a Masked Textbox control to a WPF program
I found some very creative and technically challenging examples for adding a masked textbox control to a WPF program. Most of them required the creation of a new class inherited from the base System.Windows.Controls.TextBox class. This is a valid option, however, I have implemented a different approach. I discovered the System.Windows.Forms.Integration.WindowsFormsHost class which is specifically […]
Read More →Add images dynamically to WPF DataGrid using IValueConverter in C#
I created a WPF project which included a DataGrid which present a Status. It looked liked this. I didn’t really like the representation of the True, False, Null and decided to convert the value to either a Green, Yellow or Red image instead. To do this, I first added a class called BoolToImageConverter which implements […]
Read More →