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
- 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.Model Namespace
Other Resources
WPF Designer Extensibility Architecture
Change History
Date |
History |
Reason |
---|---|---|
December 2009 |
Added note about using the invariant culture. |
Information enhancement. |