Share via


ShellItem.OnChildRemoved Method

Definition

Overloads

OnChildRemoved(Element, Int32)
OnChildRemoved(Element)
Obsolete.

Developers may override this method to customize behavior when a child Element is removed.

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

OnChildRemoved(Element)

Caution

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

Developers may override this method to customize behavior when a child Element 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
Attributes
System.ObsoleteAttribute

Remarks

Developers should call base.OnChildRemoved() at the beginning of their overriding method.

Applies to