When non-null, used to calculate the inertia scroll offset.
public CalculateInertiaCallback CalculateInertia { get; set; }
public:
property CalculateInertiaCallback^ CalculateInertia
{
CalculateInertiaCallback^ get()
void set(CalculateInertiaCallback^ value)
}
A CalculateInertiaCallback that will calculate the inertia scroll deceration offsets. The default value is DefaultCalculateInertia. If null, DefaultCalculateInertia is used.
DefaultCalculateInertia makes use of the values of DefaultBezierPoint1, DefaultBezierPoint2, DefaultDuration, and DefaultPower to return the new inertia scroll offset. The Bézier function is defined by the four points (0,0)
, DefaultBezierPoint1, DefaultBezierPoint2, (1,1)
and defines the percent of total distance for the inertia animation.
CalculateInertia can make use of the properties in InertiaParams, specifically InertiaParams.Amplitude, InertiaParams.Velocity, and InertiaParams.ReasonTimestamp, to completely control how any individual inertia scroll will animate.
InertiaParams.Stop must be used to end the inertia scroll. Failure to set InertiaParams.Stop to true may cause the inertia scroll to run indefinitely.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document