November 2011 - Posts

2
Comments

Resolving harmless binding errors in WPF by akjoshi

While developing WPF applications, you will notice a lot of binding errors being displayed in output window. I also faced this problem and tried a lot of things to get to the root cause of the problem. It was very frustrating as AncestorLevel is not used anywhere in code! and I was not able to find the place in code which is responsible for these errors. Even after searching the various forums and articles there was no solution for this problem; but this was a very common issue and cause of this problem mentioned here, here and here is: ...
Filed under:
0
Comments

Using Triggers in place of converters: My Encounter with WinForm style WPF apps 1 by akjoshi

I am working on some refactoring kind of tasks and thought to share some of my findings with you all. In one of the application I am working, lot of converters were used for determining the value of a property based on various conditions (values of other...
Filed under: , ,
1
Comments

How to To Create Dynamic Submenu's in WPF by akjoshi

For creating dynamic sub-menus, < MenuItem.ItemContainerStyle > .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode...
Filed under:
More Posts