ScrollViewer.IsZoomChainingEnabled Property

Definition

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

C#
public bool IsZoomChainingEnabled { get; set; }
XAML
<ScrollViewer IsZoomChainingEnabled="bool" />
-or-
<object ScrollViewer.IsZoomChainingEnabled="bool"/>

Property Value

Boolean

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.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also