AbsoluteLayout.OnChildRemoved Método

Definición

Sobrecargas

OnChildRemoved(Element)
Obsoletos.

Se llama cuando se quita un elemento secundario de AbsoluteLayout.

OnChildRemoved(Element, Int32)

OnChildRemoved(Element)

Precaución

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

Se llama cuando se quita un elemento secundario de AbsoluteLayout.

[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

Parámetros

child
Element

Elemento que se ha quitado de los elementos secundarios.

Atributos
System.ObsoleteAttribute

Comentarios

Los desarrolladores de aplicaciones pueden invalidar OnChildRemoved(Element) para cambiar el comportamiento predeterminado que se desencadena cuando se quita un elemento secundario. Al hacerlo, se recomienda llamar al método base OnChildRemoved(Element) y, a continuación, agregar lógica adicional.

Se aplica a

OnChildRemoved(Element, Int32)

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

Parámetros

child
Element
oldLogicalIndex
System.Int32

Se aplica a