Element.OnChildRemoved Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OnChildRemoved(Element) |
Obsolete.
Invoked whenever the ChildRemoved event needs to be emitted. Implement this method to add class handling for this event. |
OnChildRemoved(Element, Int32) |
OnChildRemoved(Element)
Caution
OnChildRemoved(Element) is obsolete as of version 4.8.0. Please use OnChildRemoved(Element, int) instead.
Invoked whenever the ChildRemoved event needs to be emitted. Implement this method to add class handling for this event.
[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
Parameters
- child
- Element
The element that was removed.
- Attributes
-
System.ObsoleteAttribute
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
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
Parameters
- child
- Element
- oldLogicalIndex
- System.Int32