September 2012
Intermediate to advanced
464 pages
10h 55m
English
A master-detail view is a common way to display lots of information. The master shows a compressed view of some objects, while the detail view shows the selected object (from the master) in greater detail, as appropriate. Let's examine a typical way to achieve this in WPF.
Make sure Visual Studio is up and running.
We'll create an application that shows a list of processes and a detailed look of a selected process.
CH06.MasterDetail.MainWindow.xaml. Add the following markup to the existing Grid, creating two columns with first holding a ListBox:<Grid.ColumnDefinitions> <ColumnDefinition Width="200"/> <ColumnDefinition /> </Grid.ColumnDefinitions> <ListBox ...
Read now
Unlock full access