ModelEvent.Parent Property

When overridden in a derived class, gets the parent of this event.

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 representing the parent of this event.

Remarks

All events have parents, so this never returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelEvent Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture