Dela via


ScrollViewer.IsZoomInertiaEnabled Property

Definition

Gets or sets a value that indicates whether zoom actions should include inertia in their behavior and value.

public:
 property bool IsZoomInertiaEnabled { bool get(); void set(bool value); };
bool IsZoomInertiaEnabled();

void IsZoomInertiaEnabled(bool value);
public bool IsZoomInertiaEnabled { get; set; }
var boolean = scrollViewer.isZoomInertiaEnabled;
scrollViewer.isZoomInertiaEnabled = boolean;
Public Property IsZoomInertiaEnabled As Boolean
<ScrollViewer IsZoomInertiaEnabled="bool" />
-or-
<object ScrollViewer.IsZoomInertiaEnabled="bool"/>

Property Value

Boolean

bool

true if zoom actions should include inertia in their behavior and value; otherwise, false.

Remarks

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

Applies to

See also