Element.OnChildAdded(Element) 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.
Raises the ChildAdded event. Implement this method to add class handling for this event.
protected:
virtual void OnChildAdded(Microsoft::Maui::Controls::Element ^ child);
protected virtual void OnChildAdded (Microsoft.Maui.Controls.Element child);
abstract member OnChildAdded : Microsoft.Maui.Controls.Element -> unit
override this.OnChildAdded : Microsoft.Maui.Controls.Element -> unit
Protected Overridable Sub OnChildAdded (child As Element)
Parameters
- child
- Element
The element that's been added as a child.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.