Windows.UI.Xaml.Controls.ScrollViewer.IsZoomChainingEnabled

June 22, 2022 ยท View on GitHub

-description

Gets or sets a value that indicates whether zoom chaining is enabled from this child to its parent.

-xaml-syntax

<ScrollViewer IsZoomChainingEnabled="bool" />
-or-
<object ScrollViewer.IsZoomChainingEnabled="bool"/>

-property-value

true to enable zoom chaining from child to parent; otherwise, false.

-remarks

After a user hits a zoom limit on an element that has been nested within another zoomable element, you can specify whether that parent element should continue the zooming operation begun in its child element. This is called zoom chaining.

For XAML usage, IsZoomChainingEnabled can either be an attribute on an explicit ScrollViewer element, or a ScrollViewer.IsZoomChainingEnabled attached property usage on an element that is a child of a control that supports scrollview implicitly in its template.

The ScrollViewer's chaining properties (IsHorizontalScrollChainingEnabled,IsVerticalScrollChainingEnabled, IsZoomChainingEnabled ) do not apply when the control is in inertial mode. Because mouse wheel rotations are handled as inertial manipulations, chaining does not work.

-examples

-see-also

Scroll viewer controls, Guidelines for panning