Delen via


MarkupDocumentManager.Root Property

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

Gets the root ModelItem of the model.

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

Syntax

'Declaration
Public ReadOnly Property Root As ModelItem
'Usage
Dim instance As MarkupDocumentManager 
Dim value As ModelItem 

value = instance.Root
public ModelItem Root { get; }
public:
property ModelItem^ Root {
    ModelItem^ get ();
}
public function get Root () : ModelItem

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
The root of the model or nulla null reference (Nothing in Visual Basic) if the document has not been loaded.

.NET Framework Security

See Also

Reference

MarkupDocumentManager Class

MarkupDocumentManager Members

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility