[]
        
(Showing Draft Content)

C1.Framework.XViewLight.OnInvalidated

OnInvalidated Method

OnInvalidated(InvalidateEventArgs)

Remove hosted controls that belong to elements which became invisible or belong to a different control now.

Declaration
protected override void OnInvalidated(InvalidateEventArgs e)
Parameters
Type Name Description
InvalidateEventArgs e

InvalidateEventArgs that contains the event data.

Overrides
Remarks

The host element is responsible for restoring the control's Parent property when it updates its position.

Note: XViewLight determines that a Controlbelongs to an Element if the control's Tag property contains a reference to a Control object.