Class ColorSchemeViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
ColorSchemeViewModel represents the rendering context used when a color scheme is rendered.
public class ColorSchemeViewModel : ViewModelBase
- Inheritance
-
ColorSchemeViewModel
- Inherited Members
Properties
BackgroundColor
Gets or sets the background color.
public ColorViewModel? BackgroundColor { get; set; }
Property Value
- ColorViewModel
The color as a ColorViewModel.
CssClassName
Gets or sets the css class name.
public string CssClassName { get; }
Property Value
CustomColors
Gets or sets the custom colors
public IList<CustomColorViewModel> CustomColors { get; init; }
Property Value
ForegroundColor
Gets or sets the foreground color.
public ColorViewModel? ForegroundColor { get; set; }
Property Value
- ColorViewModel
The color as a ColorViewModel.
GroupId
Gets or sets the color scheme group id.
public required string GroupId { get; set; }
Property Value
Id
Gets or sets the color scheme id.
public required string Id { get; set; }
Property Value
Name
Gets or sets the color scheme name.
public required string Name { get; set; }
Property Value
PrimaryButtonColor
Gets or sets the primary button color.
public ColorViewModel? PrimaryButtonColor { get; set; }
Property Value
- ColorViewModel
The color as a ColorViewModel.
SecondaryButtonColor
Gets or sets the secondary button color.
public ColorViewModel? SecondaryButtonColor { get; set; }
Property Value
- ColorViewModel
The color as a ColorViewModel.