Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.25 KB

scrollviewer_zoommode.md

File metadata and controls

31 lines (22 loc) · 1.25 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.ScrollViewer.ZoomMode
winrt property

Microsoft.UI.Xaml.Controls.ScrollViewer.ZoomMode

-description

Gets or sets a value that indicates whether zoom behavior in the ScrollViewer content is enabled.

-xaml-syntax

<ScrollViewer ZoomMode="zoomModeMemberName" />
-or-
<object ScrollViewer.ZoomMode="zoomModeMemberName"/>

-property-value

A value of the enumeration.

-remarks

No default value is listed for this property. Controls that incorporate a ScrollViewer in compositing often set a value for ZoomMode in the default template and starting visual states, and it is this templated value that you will typically start with. Controls with a ScrollViewer as part of their composition typically use template binding such that setting the attached property at the level of the control will change the scroll behavior of the ScrollViewer part within the control. Otherwise, it may be necessary to replace the template in order to change the scroll behavior of a ScrollViewer part.

-examples

-see-also