Table of Contents

Event InstanceLogicalParentChanged

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Occurs when the logical parent of an instance changes. This is a static event that is raised for all instances of FrameworkElement when their LogicalParent property changes.

public static event EventHandler? InstanceLogicalParentChanged

Returns

EventHandler
Occurs when the logical parent of an instance changes. This is a static event that is raised for all instances of when their property changes.

Remarks

Subscribe to this event to be notified when the logical parent of an instance is modified. This can be useful for responding to changes in the element hierarchy, such as updating bindings or handling resource lookups that depend on the parent relationship.