ModernContentIsDarkTheme Property |
Gets the value if the current theme is dark background and white text.
Namespace:
Hummingbird.UI
Assembly:
Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax public bool IsDarkTheme { get; }
Public ReadOnly Property IsDarkTheme As Boolean
Get
public:
property bool IsDarkTheme {
bool get ();
}
Property Value
Type:
BooleanRemarks
In your application, you can use this property to detect the changes of the theme, and adapt for example background image according to the theme applied.
See Also