ModelService.Root Property
When overridden in a derived class, gets the root of the object hierarchy.
Namespace: Microsoft.Windows.Design.Services
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 ModelItem which represents the root of the editing model tree.
Remarks
For linear stores, the Root property returns the first object in the store. For stores that represent a tree of objects, this property returns the topmost node of the tree.
.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.Services Namespace