Y Property
Collapse the table of content
Expand the table of content

TranslateTransform.Y Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the distance to translate (move) an object along the y-axis.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Public Property Y As Double
<TranslateTransform Y="double"/>

Property Value

Type: System.Double
The distance to translate (move) an object along the y-axis, in pixels. The default is 0.

Dependency property identifier field: YProperty

Negative values move an object up; positive values move an object down.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft