ClientTheme
Wisej.Core.ClientTheme
public class ClientTheme : IWisejSerializablePublic Class ClientTheme
Inherits IWisejSerializable
// create a new custom theme cloned from the current theme.
var myTheme1 = new ClientTheme("MyTheme1", Application.Theme);
// create a new custom theme from a JSON string.
var myTheme2 = new ClientTheme("MyTheme2", json);
Constructors
ClientTheme(name)
Name
Type
Description
ClientTheme(name, json)
Name
Type
Description
ClientTheme(name, baseTheme)
Name
Type
Description
Properties
Appearances
Colors
Fonts
Images
Name
Settings
Stylesheet
Methods
GetColor(appearance, name, state)
Parameter
Type
Description
GetColor(name)
Parameter
Type
Description
GetFont(appearance, name, state)
Parameter
Type
Description
GetFont(name)
Parameter
Type
Description
GetImage(appearance, name, state)
Parameter
Type
Description
GetImage(name)
Parameter
Type
Description
GetInsets(appearance, state, includePadding)
Parameter
Type
Description
GetProperty<T>(appearance, name, state)
Parameter
Type
Description
GetStyle<T>(appearance, name, state)
Parameter
Type
Description
IsThemeColor(color)
Parameter
Type
Description
IsThemeFont(font)
Parameter
Type
Description
TranslateColor(color)
Parameter
Type
Description
TranslateFont(font)
Parameter
Type
Description
Implements
Name
Description
Last updated
Was this helpful?

