Table of Contents

Method GetAnimationValueIncrement

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetAnimationValueIncrement()

Calculates the increment value used for animating progress changes based on the current range between the minimum and maximum values.

protected virtual int GetAnimationValueIncrement()

Returns

int

An integer representing the calculated increment for animation. The value is always at least 1.

Remarks

The increment is determined by multiplying the difference between the maximum and minimum values by a predefined factor. This ensures smooth and consistent animation transitions regardless of the progress bar's range.