FadingPainterTState Constructor

Creates a new instance of the FadingPainterTState class.

Definition

Namespace: KGySoft.WinForms.Controls
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public FadingPainter(
	ISupportsFading<TState> host,
	TState initialState
)

Parameters

host  ISupportsFadingTState
The host control that implements ISupportsFadingTState.
initialState  TState
The initial state of the host control. If , you must set the State property before the control is painted for the first time.

See Also