Table of Contents

Method GetDefaultHoveredColor

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

GetDefaultHoveredColor(bool, Color)

Determines the default hovered color based on the specified theme and base color.

public static Color GetDefaultHoveredColor(bool isDark, Color baseColor)

Parameters

isDark bool

A boolean value indicating whether the dark theme is applied. true for dark theme; otherwise, false.

baseColor Color

The base Color from which the hovered color is derived.

Returns

Color

The calculated hovered Color based on the theme and base color. If no specific factor is available, returns the base color.