Share via


ModelItem.Parent Property

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

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

Syntax

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

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem that represents the parent item of this object.

Remarks

If an item that is contained in a collection or a dictionary, the collection or dictionary is skipped, returning the object that owns the collection or dictionary.

.NET Framework Security

See Also

Reference

ModelItem Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture

Editing Model Architecture