Gets or sets the distance the object is translated along the z-axis of the screen.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: GlobalOffsetZProperty
The GlobalOffsetX, GlobalOffsetY, and 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.
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 z-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.