Breyta

Deila með


TranslateTransform3D.OffsetX Property

Definition

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

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

Property Value

Double that represents the X-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 OffsetXProperty
Metadata properties set to true None

Applies to