Table of Contents

Method SetStateColors

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

SetStateColors(VisualControlState, IReadOnlyFontAndColor?)

Sets StateObjects colors and backgrounds for the state specified in the state parameter to the colors from fontAndColor.

public virtual void SetStateColors(VisualControlState state, IReadOnlyFontAndColor? fontAndColor)

Parameters

state VisualControlState

Affected control state.

fontAndColor IReadOnlyFontAndColor

Colors.