mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.2 KiB
1.2 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||
|---|---|---|---|---|---|
| How to: Use the Master-Detail Pattern with Hierarchical XML Data | 03/30/2017 |
|
eb8dbdd8-5871-42bb-a16b-04e655fea677 |
How to: Use the Master-Detail Pattern with Hierarchical XML Data
This example shows how to implement the master-detail scenario with XML data.
Example
This example is the XML data version of the example discussed in Use the Master-Detail Pattern with Hierarchical Data. In this example, the data is from the file League.xml. Note how the third xref:System.Windows.Controls.ListBox control tracks selection changes in the second xref:System.Windows.Controls.ListBox by binding to its xref:System.Windows.Controls.Primitives.Selector.SelectedValue%2A property.
[!code-xamlMasterDetailXml#HowTo1]
[!code-xamlMasterDetailXml#HowTo2]