Table of Contents

Method GetTheme

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

GetTheme(KnownTheme, bool)

Returns theme colors for the specified theme and isDark parameters.

public static ScrollBar.ThemeMetrics GetTheme(ScrollBar.KnownTheme theme, bool isDark = false)

Parameters

theme ScrollBar.KnownTheme

ScrollBar.KnownTheme value.

isDark bool

Whether to return dark or light theme when any of the 'auto' themes is specified in the theme parameter.

Returns

ScrollBar.ThemeMetrics