mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 23:43:39 +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
38 lines
1.6 KiB
Markdown
38 lines
1.6 KiB
Markdown
---
|
|
title: "Element Tree and Serialization"
|
|
ms.date: "03/30/2017"
|
|
f1_keywords:
|
|
- "AutoGeneratedOrientationPage"
|
|
helpviewer_keywords:
|
|
- "element tree [WPF]"
|
|
- "serialization [WPF]"
|
|
- "tree [WPF]"
|
|
ms.assetid: 8f57e879-180b-421f-b3d0-ac007ff2ce80
|
|
---
|
|
# Element Tree and Serialization
|
|
WPF programming elements often exist in some form of tree relationship to each other. For instance, an application UI created in XAML can be conceptualized as an object tree. The element tree can be further divided into two discrete yet sometimes parallel trees: the logical tree and the visual tree. Serialization in WPF involves saving the state of these two trees as well as application state and writing it to a file, potentially as XAML.
|
|
|
|
## In This Section
|
|
[Trees in WPF](trees-in-wpf.md)
|
|
[Serialization Limitations of XamlWriter.Save](serialization-limitations-of-xamlwriter-save.md)
|
|
[Initialization for Object Elements Not in an Object Tree](initialization-for-object-elements-not-in-an-object-tree.md)
|
|
[How-to Topics](element-tree-and-serialization-how-to-topics.md)
|
|
|
|
## Reference
|
|
<xref:System.Windows.Markup>
|
|
|
|
<xref:System.Windows.LogicalTreeHelper>
|
|
|
|
<xref:System.Windows.Media.VisualTreeHelper>
|
|
|
|
## Related Sections
|
|
[WPF Architecture](wpf-architecture.md)
|
|
[XAML in WPF](xaml-in-wpf.md)
|
|
[Base Elements](base-elements.md)
|
|
[Properties](properties-wpf.md)
|
|
[Events](events-wpf.md)
|
|
[Input](input-wpf.md)
|
|
[Resources](resources-wpf.md)
|
|
[Styling and Templating](/dotnet/desktop-wpf/fundamentals/styles-templates-overview)
|
|
[Threading Model](threading-model.md)
|