-
Notifications
You must be signed in to change notification settings - Fork 26
uwidgets.core.models.settings.theme
Namespace: uWidgets.Core.Models.Settings
Application theme settings.
public class Theme : System.IEquatable`1[[uWidgets.Core.Models.Settings.Theme, uWidgets.Core, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null]]Inheritance Object → Theme
Implements IEquatable<Theme>
Attributes NullableContextAttribute, NullableAttribute
protected Type EqualityContract { get; }Should the application use the dark mode
null to use system settings
public Nullable<bool> DarkMode { get; set; }Accent color in HEX format
null to use system accent color
public string AccentColor { get; set; }Widget's background opacity level
public double OpacityLevel { get; set; }Should the application use monochrome theme
public bool Monochrome { get; set; }Should the application use native window frame
public bool UseNativeFrame { get; set; }Font family to use
public string FontFamily { get; set; }Application theme settings.
public Theme(Nullable<bool> DarkMode, string AccentColor, double OpacityLevel, bool Monochrome, bool UseNativeFrame, string FontFamily)DarkMode Nullable<Boolean>
Should the application use the dark mode
null to use system settings
AccentColor String
Accent color in HEX format
null to use system accent color
OpacityLevel Double
Widget's background opacity level
Monochrome Boolean
Should the application use monochrome theme
UseNativeFrame Boolean
Should the application use native window frame
FontFamily String
Font family to use
protected Theme(Theme original)original Theme
public string ToString()protected bool PrintMembers(StringBuilder builder)builder StringBuilder
public int GetHashCode()public bool Equals(object obj)obj Object
public bool Equals(Theme other)other Theme
public Theme <Clone>$()public void Deconstruct(Nullable`1& DarkMode, String& AccentColor, Double& OpacityLevel, Boolean& Monochrome, Boolean& UseNativeFrame, String& FontFamily)DarkMode Nullable`1&
AccentColor String&
OpacityLevel Double&
Monochrome Boolean&
UseNativeFrame Boolean&
FontFamily String&