ScaleLayout Element

Scales child elements up or down as specified.

Syntax

<ScaleLayout
    AllowScaleDown="{true | false}"
    AllowScaleUp="{true | false}"
    MaintainAspectRatio="{true | false}"
/>

Attributes

AllowScaleDown

Specifies whether large content should scale down to fit the constraint.

AllowScaleUp

Specifies whether small content should scale up to fit the constraint.

MaintainAspectRatio

Specifies whether x and y should scale equally.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also