Visual.CenterPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.