Class RevealTheme
The class contains current theme settings.
After applying changes RevealView.UpdateRevealTheme function must be called
and changes will be taken for those dashboards rendered after this call.
Inheritance
System.Object
RevealTheme
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Reveal.UI.Sdk.dll
Syntax
Constructors
RevealTheme(RevealTheme)
Declaration
public RevealTheme(RevealTheme other)
Parameters
RevealTheme(Boolean)
Creates new instance of RevealTheme.
Declaration
public RevealTheme(bool isDark = false)
Parameters
Type |
Name |
Description |
System.Boolean |
isDark |
Pass true if you want to get the dark theme
|
Properties
AccentColor
Declaration
public Color AccentColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
BackgroundColors
The list of background colors displayed as the palette when selecting the background
color for a visualization (if enabled). This color palette could have any number of elements.
Declaration
public List<Color> BackgroundColors { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Windows.Media.Color> |
|
BoldFont
Font family used for bold font style
Declaration
public FontFamily BoldFont { get; set; }
Property Value
Type |
Description |
System.Windows.Media.FontFamily |
|
ChartColors
The list of chart colors. This color palette could have any number of elements.
Once the list is finished, Reveal will start auto generating shade of these colors.
Declaration
public List<Color> ChartColors { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Windows.Media.Color> |
|
Conditional Formatting set of colors HI, MID, LOW and NONE values.
Declaration
public RVConditionalFormatting ConditionalFormatting { get; }
Property Value
ContextId
Declaration
public string ContextId { get; }
Property Value
Type |
Description |
System.String |
|
DashboardBackgroundColor
Declaration
public Color DashboardBackgroundColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
FontColor
Declaration
public Color FontColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
HighlightColor
Highlighting color that is used on specific scenarios for dashboards (forecast and outliers).
Declaration
public Color HighlightColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
MediumFont
Font family used for medium font style
Declaration
public FontFamily MediumFont { get; set; }
Property Value
Type |
Description |
System.Windows.Media.FontFamily |
|
RegularFont
Font family used for regular font style
Declaration
public FontFamily RegularFont { get; set; }
Property Value
Type |
Description |
System.Windows.Media.FontFamily |
|
UseRoundedCorners
Rounded corners in buttons, tooltips, containers, visualizations, etc.
If false, squared corners will be shown
Declaration
public bool UseRoundedCorners { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
VisualizationBackgroundColor
Visualizations, modals, list-items... secondary background color
Declaration
public Color VisualizationBackgroundColor { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Methods
Clone()
Declaration
public RevealTheme Clone()
Returns