VisualElement
public class VisualElement : NavigableElement, IAnimatable, IVisualElementController, IElementController, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable
A Element that occupies an area on the screen, has a visual appearance, and can obtain touch input.
Identifies the AnchorX bindable property.
Identifies the AnchorY bindable property.
Identifies the BackgroundColor bindable property.
Identifies the Behaviors bindable property.
Backing store for the FlowDirection property.
Identifies the Height bindable property.
Backing store for the HeightRequest property.
Identifies the InputTransparent bindable property.
Identifies the IsEnabled bindable property.
Identifies the IsFocused bindable property.
For internal use by the Xamarin.Forms platform.
The backing store for the IsTabStop field.
Identifies the IsVisible bindable property.
Backing store for the MinimumHeightRequest property.
Backing store for the MinimumWidthRequest property.
Identifies the Opacity bindable property.
Identifies the Rotation bindable property.
Identifies the RotationX bindable property.
Identifies the RotationY bindable property.
Identifies the Scale bindable property.
Backing store for the ScaleX property.
Backing store for the ScaleY property.
The backing store for the TabIndex field.
Identifies the TranslationX bindable property.
Identifies the TranslationY bindable property.
Identifies the Triggers bindable property.
The backing store for the Visual field.
Identifies the Width bindable property.
Backing store for the WidthRequest property.
Identifies the X bindable property.
Identifies the Y bindable property.
Gets or sets the X component of the center point for any transform, relative to the bounds of the element. This is a bindable property.
Gets or sets the Y component of the center point for any transform, relative to the bounds of the element. This is a bindable property.
Gets or sets the color which will fill the background of a VisualElement. This is a bindable property.
For internal use by the Xamarin.Forms platform.
Gets the list of Behaviors associated to this element. This is a bindable property.
Gets the bounds of the element.
For internal use by the Xamarin.Forms platform.
Gets or sets the layout flow direction.
Gets the current rendered height of this element. This is a read-only bindable property.
Gets or sets the desired height override of this element.
Gets or sets a value indicating whether this element should be involved in the user interaction cycle. This is a bindable property.
Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property.
Gets a value indicating whether this element is focused currently. This is a bindable property.
For internal use by the Xamarin.Forms platform.
For internal use by the Xamarin.Forms platform.
For internal use by the Xamarin.Forms platform.
Gets or sets a value that indicates whether this element is included in tab navigation. This is a bindable property.
Gets or sets a value that determines whether this elements should be part of the visual tree or not. This is a bindable property.
Gets or sets a value which overrides the minimum height the element will request during layout.
Gets or sets a value which overrides the minimum width the element will request during layout.
Gets or sets the opacity value applied to the element when it is rendered. This is a bindable property.
Gets or sets the local resource dictionary.
Gets or sets the rotation (in degrees) about the Z-axis (affine rotation) when the element is rendered.
Gets or sets the rotation (in degrees) about the X-axis (perspective rotation) when the element is rendered.
Gets or sets the rotation (in degrees) about the Y-axis (perspective rotation) when the element is rendered.
Gets or sets the scale factor applied to the element.
Gets or sets a scale value to apply to the X direction.
Gets or sets a scale value to apply to the Y direction.
Gets or sets the X translation delta of the element.
Gets or sets the Y translation delta of the element.
Gets the list of Trigger associated to this element. This is a bindable property.
Gets the current rendered width of this element. This is a read-only bindable property.
Gets or sets the desired width override of this element.
Gets the current X position of this element. This is a read-only bindable property.
Gets the current Y position of this element. This is a read-only bindable property.
For internal use by the Xamarin.Forms platform.
Occurs when the Children of a VisualElement have been re-ordered.
For internal use by the Xamarin.Forms platform.
Occurs when the element receives focus.
Event that is raised when the layout of a visual element is invalidated.
Occurs when either the Width or the Height properties change value on this element.
Occurs when the element loses focus.
Signals the start of a batch of changes to the elements properties.
Signals the end of a batch of commands to the element and that those commands should now be committed.
Attemps to set focus to this element.
Returns the SizeRequest of the element. Calling this method begins the measure pass of a layout cycle.
Method that is called to invalidate the layout of this VisualElement. Raises the MeasureInvalidated event.
For internal use by the Xamarin.Forms platform.
Updates the bounds of the element during the layout cycle.
Returns the minimum size that a visual element needs in order to be displayed on the device.
For internal use by the Xamarin.Forms platform.
Invoked whenever the ChildrenReordered event is about to be emitted. Implement this method to add class handling for this event.
Method that is called when a layout measurement happens.
This method is called when the size of the element is set during a layout cycle. This method is called directly before the SizeChanged event is emitted. Implement this method to add class handling for this event.
This method is called during the measure pass of a layout cycle to get the desired size of an element.
SizeAllocated is called during a layout cycle to signal the start of a sub-tree layout.
Unsets focus to this element.