Поделиться через


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 ранее был в этом элементе.

Применяется к