Gets or sets the distance the object is translated along the x-axis of the screen.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: GlobalOffsetXProperty
The , GlobalOffsetY, and GlobalOffsetZ properties translate the object along axes relative to the screen. That is, unlike LocalOffsetX, LocalOffsetY, and LocalOffsetZ, the axis the object moves along is independent of any rotation applied to the object. These global offset properties are useful when you want to simply move the object along the x-, y-, or z-axis of the screen without worrying about the rotation applied to the object.
The following sample animates from 0 to 400 and RotationY from 0 to 65 degrees.
Notice in the preceding sample that the object does not change course as it rotates. That is because the object is being moved along the x-axis of the screen without regard to its rotation.
The following sample allows you to experiment with the different global offset properties.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.