Xamarin.Forms.Element: Method Members

The methods of Xamarin.Forms.Element are listed below. For a list of all members, see the Element Members list.

See Also: Inherited members from Xamarin.Forms.BindableObject

Public Methods

RemoveDynamicResource(BindableProperty)
Removes a previously set dynamic resource
SetDynamicResource(BindableProperty, string)
Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key.

Protected Methods

override
OnBindingContextChanged()
Invoked whenever the binding context of the element changes. Implement this method to add class handling for this event.
OnChildAdded(Element)
Invoked whenever the Element.ChildAdded event needs to be emitted. Implement this method to add class handling for this event.
OnChildRemoved(Element)
Invoked whenever the Element.ChildRemoved event needs to be emitted. Implement this method to add class handling for this event.
OnParentSet()
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.