Share via


Element Tree and Serialization

WPF programming elements exist in an element tree relationship to each other. The element tree can be further divided into two discrete yet 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, typically as XAML.

In This Section

Reference

System.Windows.Markup

LogicalTreeHelper

VisualTreeHelper