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
- 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