Element.OnChildAdded(Element) Element.OnChildAdded(Element) Method

Definition

Invoked whenever the ChildAdded event needs to be emitted. Implement this method to add class handling for this event.

protected virtual void OnChildAdded (Xamarin.Forms.Element child);
abstract member OnChildAdded : Xamarin.Forms.Element -> unit
override this.OnChildAdded : Xamarin.Forms.Element -> unit

Parameters

child
Element Element

The element that was added.

Remarks

This method has no default implementation. You should still call the base implementation in case an intermediate class has implemented this method.

Applies to