Udostępnij za pośrednictwem


ScrollViewer.IsScrollInertiaEnabled Property

Definition

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

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

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

Property Value

Boolean

bool

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

Remarks

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

Applies to

See also