Xamarin.Forms.Element Class
Provides the base class for all Forms hierarchal elements. This class contains all the methods and properties required to represent an element in the Forms hierarchy.

See Also: Element Members

Syntax

public abstract class Element : BindableObject, IElement, IElementController, INameScope

Remarks

The following diagram shows the classes derived from Xamarin.Forms.Element.

The diagram shows some important categories:

ClassDescription
Xamarin.Forms.VisualElementA Xamarin.Forms.Element that occupies an area on the screen, has a visual appearance, and can obtain touch input.
Xamarin.Forms.CellCells are elements meant to be added to Xamarin.Forms.ListView or Xamarin.Forms.TableView.
Xamarin.Forms.PageA Xamarin.Forms.VisualElement that occupies most or all of the screen and contains a single child.
Xamarin.Forms.LayoutXamarin.Forms.Layout have a single child of type Xamarin.Forms.View, while subclasses of Xamarin.Forms.Layout`1 have a collection of multiple children views, including other layouts.
Controls and specialized Xamarin.Forms.Views The lower part of the diagram shows the Xamarin.Forms classes for universally-available controls, such as Xamarin.Forms.Buttons and Xamarin.Forms.TableViews.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.3.0