MESCIUS.ActiveReports.Blazor.Viewer Assembly / GrapeCity.ActiveReports.Blazor.Viewer Namespace / ThemeSettings Class
Members Example

ThemeSettings Class
Represents the UI theme settings for customizing the appearance.
Object Model
ThemeSettings Class
Syntax
'Declaration
 
Public Class ThemeSettings 
 
Example
private static readonly ColorTheme _theme = new ColorTheme()
{
    Name = "testTheme",
    BackgroundPanels = "#fdf7f1",
    BackgroundMain = "#fdf7f1",
    Primary = "blue",
    Secondary = "green",
    Neutral = "grey",
    Error = "red",
    Warning = "yellow",
    FontFamily = "'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",
    Type = ColorThemeType.light
};
             
private readonly ThemeSettings _themes = new ThemeSettings()
{
    InitialTheme = "testTheme",
    ThemeSelector = new ThemeSelector()
    {
        Enabled = true,
        AvailableThemes = new []{ColorThemes.ActiveReportsDark, _theme, "default"}
    }
};
Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.Blazor.Viewer.ThemeSettings

See Also