Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.42 KB

swapchainpanel_compositionscaley.md

File metadata and controls

30 lines (19 loc) · 1.42 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.SwapChainPanel.CompositionScaleY
winrt property

Windows.UI.Xaml.Controls.SwapChainPanel.CompositionScaleY

-description

Gets the y-axis scale factor of the SwapChainPanel.

-property-value

The y-axis scale factor of the SwapChainPanel. A value of 1.0 means no scaling is applied.

-remarks

The CompositionScaleY scale factor is applied to the swap chain content when it's rendered to the screen and composited into the XAML content. The scale factor is derived from calculating the render transformations (implicit or explicit) applied to the SwapChainPanel and its ancestors.

The scale factor will be an estimate if a Projection property value is present on the SwapChainPanel or one of its ancestors.

Check this property any time you are handling CompositionScaleChanged (CompositionScaleChanged doesn't have event data, but if it fires it means that CompositionScaleX, CompositionScaleY, or both have changed values on this SwapChainPanel).

-examples

-see-also

CompositionScaleChanged