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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Documents Namespace