Share via


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

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

ModelEvent Members

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture