IAggregatable.AncestorChanged Event
Occurs when any ancestor changes. An ancestor is the parent of the current object or the parent of an ancestor of the current object.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
event EventHandler<AncestorChangedEventArgs> AncestorChanged

Value

Type: System.EventHandler<AncestorChangedEventArgs>
Remarks

The sender parameter of the event handler will be set to the current object. The Child property of the AncestorChangedEventArgs object will be set to the object whose Parent actually changed. To retrieve the new ancestor, use args.Child.QueryInterface<IAggregatable>.Parent

See Also