Share via


VisualElement.OnChildRemoved(Element, Int32) Method

Definition

Invoked when a child object is removed from this element.

protected:
 override void OnChildRemoved(Microsoft::Maui::Controls::Element ^ child, int oldLogicalIndex);
protected override void OnChildRemoved (Microsoft.Maui.Controls.Element child, int oldLogicalIndex);
override this.OnChildRemoved : Microsoft.Maui.Controls.Element * int -> unit
Protected Overrides Sub OnChildRemoved (child As Element, oldLogicalIndex As Integer)

Parameters

child
Element

The child element that is removed from this element.

oldLogicalIndex
Int32

The logical index child previously had within this element.

Applies to