Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (32 sloc) 1.57 KB
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

Related Sections

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

You can’t perform that action at this time.