Sdílet prostřednictvím


TranslateTransform.X Property

Definition

Gets or sets the distance to translate along the x-axis.

public:
 property double X { double get(); void set(double value); };
double X();

void X(double value);
public double X { get; set; }
var double = translateTransform.x;
translateTransform.x = double;
Public Property X As Double
<TranslateTransform X="double"/>

Property Value

Double

double

The distance to translate (move) an object along the x-axis, in pixels. This property is read/write. The default is 0.

Applies to