Element.OnChildRemoved Metoda

Definicja

Przeciążenia

OnChildRemoved(Element)
Przestarzałe.

Wywoływane za każdym razem, ChildRemoved gdy zdarzenie musi być emitowane. Zaimplementuj tę metodę, aby dodać obsługę klas dla tego zdarzenia.

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

Przestroga

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

Wywoływane za każdym razem, ChildRemoved gdy zdarzenie musi być emitowane. Zaimplementuj tę metodę, aby dodać obsługę klas dla tego zdarzenia.

[System.Obsolete("OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.")]
protected virtual void OnChildRemoved (Xamarin.Forms.Element child);
abstract member OnChildRemoved : Xamarin.Forms.Element -> unit
override this.OnChildRemoved : Xamarin.Forms.Element -> unit

Parametry

child
Element

Element, który został usunięty.

Atrybuty
System.ObsoleteAttribute

Uwagi

Ta metoda nie ma implementacji domyślnej. Nadal należy wywołać implementację podstawową, jeśli klasa pośrednia zaimplementowała tę metodę.

Dotyczy

OnChildRemoved(Element, Int32)

protected virtual void OnChildRemoved (Xamarin.Forms.Element child, int oldLogicalIndex);
abstract member OnChildRemoved : Xamarin.Forms.Element * int -> unit
override this.OnChildRemoved : Xamarin.Forms.Element * int -> unit

Parametry

child
Element
oldLogicalIndex
System.Int32

Dotyczy