VisualElement.X Property


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

public double X { get; }
member this.X : double

Property Value

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


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

Applies to