FadingPainterTState Constructor
Namespace: KGySoft.WinForms.ControlsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public FadingPainter(
ISupportsFading<TState> host,
TState initialState
)
Public Sub New (
host As ISupportsFading(Of TState),
initialState As TState
)
public:
FadingPainter(
ISupportsFading<TState>^ host,
TState initialState
)
new :
host : ISupportsFading<'TState> *
initialState : 'TState -> FadingPainter
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.