Share via


Visual.ParentForTransform Property

Definition

Visual specifying the coordinate system in which this visual is composed.

public:
 property Visual ^ ParentForTransform { Visual ^ get(); void set(Visual ^ value); };
Visual ParentForTransform();

void ParentForTransform(Visual value);
public Visual ParentForTransform { get; set; }
var visual = visual.parentForTransform;
visual.parentForTransform = visual;
Public Property ParentForTransform As Visual

Property Value

Visual specifying the coordinate system in which this visual is composed.

Remarks

ParentForTransform allows you to change the coordinate system in which a visual is composed. You can specify another visual that acts as a visual's "transform parent". That is, the visual in question will inherit accumulated transforms as though it were the child of that other visual. Note that this includes the effects of all properties that relate to transform, such as Visual.RotationAngle, or Visual.AnchorPoint, on the specified "transform parent" visual and all of its "transform ancestors".

Applies to