Recent Posts

0
Comments

Working on WPF application Memory Profiling by akjoshi

Today, I am going to start with the task of memory profiling the WPF application, on which I am working from past few months. I have successfully done this in past, fixing a lot of memory leaks and improving the performance of WPF applications; As in...
Filed under: ,
1
Comments

WPF DataGrid Customization: Resizing Row/Column through DataGridCell gridlines by akjoshi

In this post I am going to share my experience on how I achieved the functionality to resize DataGrid row/column from any cell in that row (not just the row header). We needed this functionality as our user can hide the DataGrid headers and it is not possible to resize the rows/columns after that....
Filed under: , ,
1
Comments

Importance of specifying AncestorType with x:Type in RelativeSourceBinding by akjoshi

I am really very happy right now, for the past 4 days me and my team were trying to solve a very trivial bug in our application and finally it got resolved by just adding x:Type in our RelativeSource bindings; Can you believe this, a production issue...
Filed under: , ,
0
Comments

Getting rid of heavy Multivalue Converters : My Encounter with Win Form style WPF apps 2 by akjoshi

I recently came across the situation where I had to refactor the WPF code written in Win Forms Style ; Code was having a lot of MultiValueConverters used for building the DataContext / ItemSources for Controls/ ListVies/ DataGrids etc. Following is the...
Filed under: ,
0
Comments

Creating custom filters in Resharper To-do Explorer by akjoshi

We can create a custom filter in Resharper To-Do explorer to filter out all the to-do items created by a specific person or with a particular string literal. This is very useful in case you are working in a big team and have habit to add To-do comments...
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:
1
Comments

WPF Interview/FAQ Resources by akjoshi

Here are some good links for learning and preparing for WPF interviews: FAQ: FAQ WPF Syncfusion WPF FAQ Index – WPFwiki Windows Presentation Foundation FAQ 10 reasons to consider WPF for your next desktop application Development Breakthroughs In Windows...
Filed under: ,
0
Comments

Themes for WPF by akjoshi

Themes is a great way to customize look and feel of your application and an easy one too. You can customize them or design your own but designing your own theme requires a lot of expertise and time. From my point of view its not a great idea to invest...
Filed under: ,
More Posts « Previous page - Next page »