Visual.Offset Property

Definition

The offset of the visual relative to its parent or for a root visual the offset relative to the upper-left corner of the windows that hosts the visual. Animatable.

C#
public Vector3 Offset { get; set; }

Property Value

Vector3

Offset of the visual relative to its parent.

Remarks

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

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6