Element
public abstract class Element : BindableObject, IElement, INameScope, IElementController, IStyleSelectable
Provides the base class for all Xamarin.Forms hierarchal elements. This class contains all the methods and properties required to represent an element in the Xamarin.Forms hierarchy.
The backing store for the AutomationId field.
Identifies the ClassId bindable property.
Backing store for the attached menu property.
Gets or sets a value that allows the automation framework to find and interact with this element.
Gets or sets a value used to identify a collection of semantically similar elements.
For internal use by the Xamarin.Forms platform.
A list of the effects that are applied to this item.
Gets a value that can be used to uniquely identify an element through the run of an application.
For internal use by the Xamarin.Forms platform.
Gets or sets the parent element of the element.
Gets the element which is the closest ancestor of this element that is a VisualElement.
For internal use by the Xamarin.Forms platform.
Gets or sets a user defined value to uniquely identify the element.
Occurs whenever a child element is added to the element.
Occurs whenever a child element is removed from the element.
Occurs whenever a child element is added to the elements subtree.
Occurs whenever a child element is removed from the elements subtree.
protected Element()
Gets the Menu object for bindable.
Sets the menu for bindable.
For internal use by the Xamarin.Forms platform.
For internal use by the Xamarin.Forms platform.
Returns the element that has the specified name.
Invoked whenever the ChildAdded event needs to be emitted. Implement this method to add class handling for this event.
Invoked whenever the ChildRemoved event needs to be emitted. Implement this method to add class handling for this event.
Invoked whenever the Parent of an element is set. Implement this method in order to add behavior when the element is added to a parent.
Removes a previously set dynamic resource
Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key.
For internal use by the Xamarin.Forms platform.
For internal use by the Xamarin.Forms platform.