ShellItem.OnChildRemoved Metoda

Definice

Přetížení

OnChildRemoved(Element, Int32)
OnChildRemoved(Element)
Zastaralé.

Vývojáři mohou přepsat tuto metodu přizpůsobit chování při odebrání podřízené Element .

OnChildRemoved(Element, Int32)

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

Parametry

child
Element
oldLogicalIndex
System.Int32

Platí pro

OnChildRemoved(Element)

Upozornění

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

Vývojáři mohou přepsat tuto metodu přizpůsobit chování při odebrání podřízené Element .

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

Parametry

child
Element
Atributy
System.ObsoleteAttribute

Poznámky

Vývojáři by měli volat base.OnChildRemoved() na začátku metody přepsání.

Platí pro