Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.X Property

Gets the current X position of this element. This is a read-only bindable property.

Syntax

public Double X { get; }

Value

The X position of this element relative to its parents bounds.

Remarks

The x value of an element is set during the Layout phase.

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.4.0.0, 1.5.0.0, 2.0.0.0