Share via


DocumentTree Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents the persistent state of a tree of objects that consists of their property values and collections of children.

Namespace:  Microsoft.Windows.Design.Documents.Trees
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public MustInherit Class DocumentTree
'Usage
Dim instance As DocumentTree
public abstract class DocumentTree
public ref class DocumentTree abstract
public abstract class DocumentTree

Remarks

Items that represent the same node in a tree are not always guaranteed to be the same object instance. As children of an item are enumerated, the items are free to create a new instance of a DocumentItem in each enumeration. This means the DocumentItem should never be used as a key to a hash table. Instead, use the Identity property, which is guaranteed to be equivalent.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Documents.Trees.DocumentTree
    Microsoft.Windows.Design.Documents.Trees.ModifiableDocumentTree

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DocumentTree Members

Microsoft.Windows.Design.Documents.Trees Namespace

Other Resources

WPF Designer Extensibility