Udostępnij za pośrednictwem


DocumentTree.RootItem Property

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

Gets the root item of the document tree.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property RootItem As DocumentItem
'Usage
Dim instance As DocumentTree 
Dim value As DocumentItem 

value = instance.RootItem
public abstract DocumentItem RootItem { get; }
public:
virtual property DocumentItem^ RootItem {
    DocumentItem^ get () abstract;
}
public abstract function get RootItem () : DocumentItem

Property Value

Type: Microsoft.Windows.Design.Documents.Trees.DocumentItem

.NET Framework Security

See Also

Reference

DocumentTree Class

DocumentTree Members

Microsoft.Windows.Design.Documents.Trees Namespace

Other Resources

WPF Designer Extensibility