ISupportsFadingTStateGetFadingAnimationSpeed Method

Gets the speed of the animation between two specified states, in milliseconds.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
int GetFadingAnimationSpeed(
	TState stateFrom,
	TState stateTo
)

Parameters

stateFrom  TState
The previous state.
stateTo  TState
The new state.

Return Value

Int32
The fading animation speed in milliseconds. Zero means immediate change. Less than zero means that FadingAnimationDefaultSpeed should be used.

See Also