Table of Contents

Method DarkOrLight

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

DarkOrLight(bool)

Gets Dark if isDark is true and dark theme settings were defined; Light otherwise.

public virtual ControlStateSettings DarkOrLight(bool isDark)

Parameters

isDark bool

Whether to return Dark or Light.

Returns

ControlStateSettings