Dela via


ScrollViewerViewChangingEventArgs.IsInertial Property

Definition

Gets a value that indicates whether the pan/zoom manipulation has an inertial component.

public:
 property bool IsInertial { bool get(); };
bool IsInertial();
public bool IsInertial { get; }
var boolean = scrollViewerViewChangingEventArgs.isInertial;
Public ReadOnly Property IsInertial As Boolean

Property Value

Boolean

bool

true if the pan/zoom manipulation has an inertial component; otherwise, false.

Remarks

IsInertial is true for manipulations that occur:

  • using a mouse wheel.
  • using key strokes on ScrollViewer and other controls that support direct manipulation.
  • by calling ChangeView with animation enabled.

IsInertial is false for manipulations that occur:

  • by dragging the Thumb on a scrollbar.
  • using key strokes on controls that don't support direct manipulation.
  • by calling ChangeView with animation disabled.

Applies to