Share via


AbsoluteLayout.OnChildRemoved Method

Definition

Overloads

OnChildRemoved(Element)
Obsolete.

Called when a child is removed from the AbsoluteLayout.

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

Caution

OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.

Called when a child is removed from the AbsoluteLayout.

[System.Obsolete("OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.")]
protected override void OnChildRemoved (Xamarin.Forms.Element child);
override this.OnChildRemoved : Xamarin.Forms.Element -> unit

Parameters

child
Element

The element that was removed from the children.

Attributes
System.ObsoleteAttribute

Remarks

Application developers can override OnChildRemoved(Element) to change the default behavior thata is triggered when a child is removed. When doing so, it is recommended to call the base OnChildRemoved(Element) method and then add additional logic.

Applies to

OnChildRemoved(Element, Int32)

protected override void OnChildRemoved (Xamarin.Forms.Element child, int oldLogicalIndex);
override this.OnChildRemoved : Xamarin.Forms.Element * int -> unit

Parameters

child
Element
oldLogicalIndex
System.Int32

Applies to