Visual.Size Visual.Size Visual.Size Visual.Size Property

Definition

The width and height of the visual. Animatable.

public : Vector2 Size { get; set; }
Vector2 Size();

void Size(Vector2 size);
public Vector2 Size { get; set; }
Public ReadWrite Property Size As Vector2

Property Value

Vector2 Vector2

The width and height of the visual.

Examples

See the code example in ContainerVisual.

Remarks

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