Dela via


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
'Usage
Dim instance As ModelItem 
Dim value As ModelItem 

value = instance.Root
public abstract ModelItem Root { get; }
public:
virtual property ModelItem^ Root {
    ModelItem^ get () abstract;
}
public 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

ModelItem Members

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture

Change History

Date

History

Reason

December 2009

Added note about using the invariant culture.

Information enhancement.