ModelItem.Root Property

When overridden in a derived class, gets the item that is the root of this tree.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Root As ModelItem
    Get
public abstract ModelItem Root { get; }
public:
virtual property ModelItem^ Root {
    ModelItem^ get () abstract;
}
abstract Root : ModelItem
abstract function get Root () : ModelItem

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
The item that is the root of this tree, or nulla null reference (Nothing in Visual Basic) there if there is no root yet.

.NET Framework Security

See Also

Reference

ModelItem Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture

Editing Model Architecture