Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/element-tree-and-serialization.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* 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
2020-09-04 09:46:28 -07:00

1.6 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
Element Tree and Serialization 03/30/2017
AutoGeneratedOrientationPage
element tree [WPF]
serialization [WPF]
tree [WPF]
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
Serialization Limitations of XamlWriter.Save
Initialization for Object Elements Not in an Object Tree
How-to Topics

Reference

xref:System.Windows.Markup

xref:System.Windows.LogicalTreeHelper

xref:System.Windows.Media.VisualTreeHelper

WPF Architecture
XAML in WPF
Base Elements
Properties
Events
Input
Resources
Styling and Templating
Threading Model