Partager via


ShellSection.OnChildRemoved Méthode

Définition

Surcharges

OnChildRemoved(Element)
Obsolète.

Les développeurs peuvent substituer cette méthode pour personnaliser le comportement lorsqu’un Element enfant est supprimé.

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

Attention

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

Les développeurs peuvent substituer cette méthode pour personnaliser le comportement lorsqu’un Element enfant est supprimé.

[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

Paramètres

child
Element
Attributs
System.ObsoleteAttribute

Remarques

Les développeurs doivent appeler base.OnChildRemoved() au début de leur méthode de substitution.

S’applique à

OnChildRemoved(Element, Int32)

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

Paramètres

child
Element
oldLogicalIndex
System.Int32

S’applique à