September 2012
Intermediate to advanced
464 pages
10h 55m
English
A TreeView is a common control for viewing hierarchical data. It derives from ItemsControl, but it's a bit more
complex than standard controls derived from, ItemsControl, such as ListBox, because of its hierarchical nature, although it's possible to use a TreeView without data binding. Binding provides an elegant way to fill the tree with data. Let's examine this in more detail.
Make sure Visual Studio is up and running.
We'll create an application that shows a tree view with processes as the top level objects. For each process, child tree view items will show the modules loaded into that process.
CH06.TreeViewBinding.MainWindow.xaml.cs