WPF, MVVM and RaisePropertyChanged
Several times recently during development I have come across situations where specific strings are required for functionality to work effectively and yet not having the correct string will not cause...
View ArticleWPF, MVVM and the TreeView Control using with different...
I spent some time today getting to grips with the TreeView control whilst trying to maintain an MVVM perspective. To generalise the situation I have a pretty typical hierarchy of objects, e.g....
View ArticleCode Snippet – proprpc
Anyone who has played around with WPF or Silverlight for while will have come across the INotifyPropertyChanged interface and the RaisePropertyChanged method. In an earlier post I highlighted one...
View ArticleWPF, MVVM and the TreeView Control using with different...
In this previous post I outlined a way to work with the TreeView control in an MVVM fashion. In order to make any sense of this post you will need to refer to the previous one. The code, in order to...
View ArticleCompositeCollection Binding Problem – It’s not part of the Visual Tree
XAML is fantastic, but occasionally unpredictable which can cause some confusion. One instance of this is the CompositeCollection tag which is used to build up a collection of values from a number of...
View ArticleXamlParseException –‘The invocation of the constructor on type…’– A common bug
There is an exception which many people hit when first creating dependency properties. System.Windows.Markup.XamlParseException: The invocation of the constructor on type ‘[type name here]’ that...
View Article