Edit

Share via


TranslateTransform3D.OffsetZ Property

Definition

Gets or sets the Z-axis value of the translation's offset.

public:
 property double OffsetZ { double get(); void set(double value); };
public double OffsetZ { get; set; }
member this.OffsetZ : double with get, set
Public Property OffsetZ As Double

Property Value

Double that represents the Z-axis value of the translation's offset.

Examples

The following code excerpt sets this property on a transform applied to a GeometryModel3D.

<GeometryModel3D.Transform>
    <TranslateTransform3D
      OffsetX="2" OffsetY="0" OffsetZ="-1"   >
    </TranslateTransform3D>
</GeometryModel3D.Transform>

Remarks

Dependency Property Information

Identifier field OffsetZProperty
Metadata properties set to true None

Applies to