The members of Xamarin.Forms.VisualElement are listed below.
See Also: Inherited members from Xamarin.Forms.Element
static readonly | AnchorXProperty | BindableProperty. Identifies the AnchorX bindable property. |
static readonly | AnchorYProperty | BindableProperty. Identifies the AnchorY bindable property. |
static readonly | BackgroundColorProperty | BindableProperty. Identifies the BackgroundColor bindable property. |
static readonly | BehaviorsProperty | BindableProperty. Identifies the Behaviors bindable property. |
static readonly | HeightProperty | BindableProperty. Identifies the Height bindable property. |
static readonly | HeightRequestProperty | BindableProperty. Backing store for the HeightRequest property. |
static readonly | InputTransparentProperty | BindableProperty. Identifies the InputTransparent bindable property. |
static readonly | IsEnabledProperty | BindableProperty. Identifies the InputTransparent bindable property. |
static readonly | IsFocusedProperty | BindableProperty. Identifies the IsFocused bindable property. |
static readonly | IsVisibleProperty | BindableProperty. Identifies the IsVisible bindable property. |
static readonly | MinimumHeightRequestProperty | BindableProperty. Backing store for the MinimumHeightRequest property. |
static readonly | MinimumWidthRequestProperty | BindableProperty. Backing store for the MinimumWidthRequest property. |
static readonly | NavigationProperty | BindableProperty. Identifies the Navigation bindable property. |
static readonly | OpacityProperty | BindableProperty. Identifies the Opacity bindable property. |
static readonly | RotationProperty | BindableProperty. Identifies the Rotation bindable property. |
static readonly | RotationXProperty | BindableProperty. Identifies the RotationX bindable property. |
static readonly | RotationYProperty | BindableProperty. Identifies the RotationY bindable property. |
static readonly | ScaleProperty | BindableProperty. Identifies the Scale bindable property. |
static readonly | StyleProperty | BindableProperty. Backing store for the Style property. |
static readonly | TranslationXProperty | BindableProperty. Identifies the TranslationX bindable property. |
static readonly | TranslationYProperty | BindableProperty. Identifies the TranslationY bindable property. |
static readonly | TriggersProperty | BindableProperty. Identifies the Triggers bindable property. |
static readonly | WidthProperty | BindableProperty. Identifies the Width bindable property. |
static readonly | WidthRequestProperty | BindableProperty. Backing store for the WidthRequest property. |
static readonly | XProperty | BindableProperty. Identifies the X bindable property. |
static readonly | YProperty | BindableProperty. Identifies the Y bindable property. |
| AnchorX | double. 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. | |
| AnchorY | double. 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. | |
| BackgroundColor | Color. Gets or sets the color which will fill the background of a VisualElement. This is a bindable property. | |
| [read-only] | Behaviors | IList<Behavior>. Gets the list of Behavior associated to this element. This is a bindable propery. |
| [read-only] | Bounds | Rectangle. Gets the bounds of the element. |
| [read-only] | Height | double. Gets the current rendered height of this element. This is a read-only bindable property. |
| HeightRequest | double. Gets or sets the desired height override of this element. | |
| InputTransparent | bool. Gets or sets a value indicating whether this element should be involved in the user interaction cycle. This is a bindable property. | |
| IsEnabled | bool. Gets or sets a value indicating whether this element is enabled in the user interface. This is a bindable property. | |
| [read-only] | IsFocused | bool. Gets a value indicating whether this element is focused currently. This is a bindable property. |
| IsVisible | bool. Gets or sets a value that determines whether this elements should be part of the visual tree or not. This is a bindable property. | |
| MinimumHeightRequest | double. Gets or sets a value which overrides the minimum height the element will request during layout. | |
| MinimumWidthRequest | double. Gets or sets a value which overrides the minimum width the element will request during layout. | |
| [read-only] | Navigation | INavigation. Gets the context aware navigation interface for the element. |
| Opacity | double. Gets or sets the opacity value applied to the element when it is rendered. This is a bindable property. | |
| Resources | ResourceDictionary. Gets or sets the local resource dictionary. | |
| Rotation | double. Gets or sets the rotation about the Z-axis (affine rotation) when the element is rendered. | |
| RotationX | double. Gets or sets the rotation about the X-axis (perspective rotation) when the element is rendered. | |
| RotationY | double. Gets or sets the rotation about the Y-axis (perspective rotation) when the element is rendered. | |
| Scale | double. Gets or sets the scale factor applied to the element. | |
| Style | Style. Gets or sets the style that defines how this visual element is displayed. | |
| TranslationX | double. Gets or sets the X translation delta of the element. | |
| TranslationY | double. Gets or sets the Y translation delta of the element. | |
| [read-only] | Triggers | IList<TriggerBase>. Gets the list of Trigger associated to this element. This is a bindable property. |
| [read-only] | Width | double. Gets the current rendered width of this element. This is a read-only bindable property. |
| WidthRequest | double. Gets or sets the desired width override of this element. | |
| [read-only] | X | double. Gets the current X position of this element. This is a read-only bindable property. |
| [read-only] | Y | double. Gets the current Y position of this element. This is a read-only bindable property. |
BatchBegin()Signals the start of a batch of changes to the elements properties. | ||
BatchCommit()Signals the end of a batch of commands to the element and that those commands should now be committed. | ||
Focus()Attemps to set focus to this element. | ||
GetSizeRequest(double, double)Returns the Xamarin.Forms.SizeRequest of the element. Calling this method begins the measure pass of a layout cycle. | ||
Layout(Rectangle)Updates the bounds of the element during the layout cycle. | ||
Unfocus()Unsets focus to this element. | ||
InvalidateMeasure()Method that is called to invalidate the layout of this Xamarin.Forms.VisualElement. Raises the VisualElement.MeasureInvalidated event. | ||
OnChildrenReordered()Invoked whenever the VisualElement.ChildrenReordered event is about to be emitted. Implement this method to add class handling for this event. | ||
override | 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. | |
OnSizeAllocated(double, double)This method is called when the size of the element is set during a layout cycle. This method is called directly before the VisualElement.SizeChanged event is emitted. Implement this method to add class handling for this event. | ||
OnSizeRequest(double, double)This method is called during the measure pass of a layout cycle to get the desired size of an element. | ||
SizeAllocated(double, double)SizeAllocated is called during a layout cycle to signal the start of a sub-tree layout. | ||
| ChildrenReordered | Occurs when the Children of a VisualElement have been re-ordered. | |
| Focused | Occurs when the element receives focus. | |
| MeasureInvalidated | Event that is raised when the layout of a visual element is invalidated. | |
| SizeChanged | Occurs when either the Width or the Height properties change value on this element. | |
| Unfocused | Occurs when the element loses focus. |
| Xamarin.Forms.IVisualElementController.NativeSizeChanged | Invalidates the measure when the native size of the element changes. |