VisualElement.OnChildRemoved(Element, Int32) 方法

定义

从此元素中删除子对象时调用。

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)

参数

child
Element

从此元素中删除的子元素。

oldLogicalIndex
Int32

以前在此元素中具有的逻辑索引 child

适用于