Delen via


Visual.CenterPoint Property

Definition

The point about which rotation or scaling occurs. Animatable

public:
 property float3 CenterPoint { float3 get(); void set(float3 value); };
float3 CenterPoint();

void CenterPoint(float3 value);
public Vector3 CenterPoint { get; set; }
var vector3 = visual.centerPoint;
visual.centerPoint = vector3;
Public Property CenterPoint As Vector3

Property Value

Vector3 Vector3

float3

The point about which rotation or scaling occurs.

Remarks

CenterPoint is relative to the offset specified in the AnchorPoint property.

This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.

Applies to