Method GetTheme
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.KnownThemeScrollBar.KnownTheme value.
isDark
boolWhether to return dark or light theme when any of the 'auto' themes is specified in the
theme
parameter.