Table of Contents

Method SetHoveredColors

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

SetHoveredColors(bool, Color)

Sets the colors for the hovered state of the visual elements based on the specified theme and base color.

public virtual void SetHoveredColors(bool isDark, Color baseColor)

Parameters

isDark bool

A true if the dark theme is applied; otherwise, false.

baseColor Color

The base Color used to determine the hovered state color.

Remarks

This method updates the hovered state colors for the thumb background, arrow, and thumb border using a color derived from the specified base color and theme.