Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlaneProjection.LocalOffsetX 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 the object is translated along the x-axis of the plane of the object.

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

public double LocalOffsetX { get; set; }
<PlaneProjection LocalOffsetX="double"/>

Property Value

Type: System.Double
The distance the object is translated along the x-axis of the plane of the object.

Dependency property identifier field: LocalOffsetXProperty

In contrast to GlobalOffsetX, GlobalOffsetY, and GlobalOffsetZ, which translate an object along the axis of the screen, the LocalOffsetX, LocalOffsetY, and LocalOffsetZ properties translate an object along the respective axis of the plane of the object after it has been rotated. Therefore, the rotation of the object determines the direction that the object is translated.

LocalOffsetY works similarly to LocalOffsetX, except that it moves along the vertical axis, so changing RotationX affects the direction LocalOffsetY moves the object.

LocalOffsetZ translates the object perpendicular to the plane of the object as though a vector was drawn directly through the center from behind the object out toward you.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show: