Share via


VisualElement.Y Property

Definition

Gets the current Y position of this element in device-independent units. This is a read-only bindable property.

public:
 property double Y { double get(); };
public double Y { get; }
member this.Y : double
Public ReadOnly Property Y As Double

Property Value

The Y coordinate of the element's position in device-independent units (DIUs).

Remarks

The position of an element is set during layout.

Device-independent units (DIUs) provide a consistent unit of measurement across different screen densities. One device-independent unit equals one pixel on a 96-DPI display.

Applies to