Share via


Layout<T>.OnChildRemoved Method

Definition

Overloads

OnChildRemoved(Element)
Obsolete.

Application developers can override this method to respond when a child is removed.

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

Caution

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

Application developers can override this method to respond when a child is removed.

[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 child that was removed.

Attributes
System.ObsoleteAttribute

Remarks

Application developers who override this method must call base.OnChildRemoved before performing any other actions in their override.

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