Share via


Element.OnChildRemoved(Element, Int32) 메서드

정의

ChildRemoved 이벤트를 발생시킵니다. 이 이벤트에 대한 클래스 처리를 추가하려면 이 메서드를 구현합니다.

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

매개 변수

child
Element

제거된 자식 요소입니다.

oldLogicalIndex
Int32

논리 트리의 자식 요소 인덱스입니다.

설명

이 메서드에는 기본 구현이 없습니다. 중간 클래스가 이 메서드를 구현한 경우에도 기본 구현을 호출해야 합니다. 디버깅하지 않으면 논리 트리 인덱스가 적용되지 않습니다.

적용 대상