ScrollViewer.SetIsScrollInertiaEnabled(DependencyObject, Boolean) Method

Definition

Sets the value of the IsScrollInertiaEnabled dependency property / ScrollViewer.IsScrollInertiaEnabled XAML attached property on a specified element.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ScrollViewer.SetIsScrollInertiaEnabled.

public:
 static void SetIsScrollInertiaEnabled(DependencyObject ^ element, bool isScrollInertiaEnabled);
 static void SetIsScrollInertiaEnabled(DependencyObject const & element, bool isScrollInertiaEnabled);
public static void SetIsScrollInertiaEnabled(DependencyObject element, bool isScrollInertiaEnabled);
function setIsScrollInertiaEnabled(element, isScrollInertiaEnabled)
Public Shared Sub SetIsScrollInertiaEnabled (element As DependencyObject, isScrollInertiaEnabled As Boolean)

Parameters

element
DependencyObject

The element on which to set the property value.

isScrollInertiaEnabled
Boolean

The value to set.

Remarks

For more info, see the IsScrollInertiaEnabled property.

Applies to

See also