Multi-Threading or Cross threading and accessing controls from seperate...
I started to build my first real WPF application. It’s a former windows application that I’m rebuilding and improving using WPF and WCF. Former it was Windows forms and Web services.One of the first...
View ArticleHorizontal topnavigation with MVVM and WPF
When I was trying to set up a nice framework project that could handle my initial small media management project, I bumped into several designed issues. It was not so easy to find solutions, since I...
View ArticleSort a list view with WPF and MVVM
Sorting a grid with WPF and MVVM is not that easy as it was in Forms. Still it’s very easy to do. Here a straight forward example where I will sort my data on Number or Title. First you will have to...
View Article'Resources' property has already been set on
I was trying to build a nice WPF application, where I use general styles for some buttons. Then at a moment in time I got this nise error: ''Resources' property has already been set on. Complete it...
View ArticleFire and event from a sub thread to the main thread in WPF
This small example shows you how to simply fire an event from a sub thread, capture it In the main thread and handle it in WPF.The demo application (Attached to this post) simply starts a sub thread....
View ArticleMedia control database version 1
I created a small WPF application that can handle all your hard copy media like CD's, DVD's, Blue ray, records, books etc.It wil lhelp you keep track of things when you lend out media and find them.See...
View ArticleContentPresenter and tabindex
When you are using contentpresenters to show some custom controls, then you will see that there is no TabIndex property available. Instead use...
View ArticleUsing a listview and the selecteditem with WPF and MVVM. (without touching...
The default listview by Microsoft for Wpf has no commands available. So how can we capture the selected event without using any of the code behind and still use the default controls by Microsoft. The...
View ArticleCombining 2 or more columns in a listview using CellTemplate in stead of...
Combining 2 or more columns in a listview is really simple actually. Using the DisplayMemberBinding Property won’t get you there. This only allows 1 column to be bound. But using the CellTemplate...
View ArticleWPF - MVVM: Easy wait cursor implementation
Found a very good solution on StackOverflow.Comes down to implementing a small class, better put it somewhere in your WPF framework or Shared library.Call it like this:UIHelper.SetBusyState();The...
View Article
More Pages to Explore .....