ThemeColorProvider
Defines a Ultrachart Theme color provider, which provides Brushes and Colors for the XAML control templates. You may implement IThemeProvider yourself and pass to ThemeManager to set the global theme for all UltrachartSurface controls.
Inherits: BindableObject
Implements: IThemeProvider
Properties
public Color AxisBandsFill { get; set; }
value = themeColorProvider.AxisBandsFill
themeColorProvider.AxisBandsFill = value
Gets or sets the color for the AxisBase axis bands fill
public Brush CursorLabelBackgroundBrush { get; set; }
value = themeColorProvider.CursorLabelBackgroundBrush
themeColorProvider.CursorLabelBackgroundBrush = value
Gets or sets the brush for the CursorModifier label background
public Brush CursorLabelBorderBrush { get; set; }
value = themeColorProvider.CursorLabelBorderBrush
themeColorProvider.CursorLabelBorderBrush = value
Gets or sets the brush for the CursorModifier label border
public Brush CursorLabelForeground { get; set; }
value = themeColorProvider.CursorLabelForeground
themeColorProvider.CursorLabelForeground = value
Gets or sets the brush for the CursorModifier label text foreground
public Brush CursorLineBrush { get; set; }
value = themeColorProvider.CursorLineBrush
themeColorProvider.CursorLineBrush = value
Gets or sets the brush for the CursorModifier line stroke
public Brush DefaultAxisMarkerAnnotationBackground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationBackground
themeColorProvider.DefaultAxisMarkerAnnotationBackground = value
Gets or sets the default brush for the AxisMarkerAnnotation background
public Brush DefaultAxisMarkerAnnotationForeground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationForeground
themeColorProvider.DefaultAxisMarkerAnnotationForeground = value
Gets or sets the default brush for the AxisMarkerAnnotation text-foreground
public Brush DefaultCandleDownBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleDownBodyBrush
themeColorProvider.DefaultCandleDownBodyBrush = value
Gets or sets the default brush for the DownBodyBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultCandleDownWickColor { get; set; }
value = themeColorProvider.DefaultCandleDownWickColor
themeColorProvider.DefaultCandleDownWickColor = value
Gets or sets the default color for the DownWickColor
public Brush DefaultCandleUpBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleUpBodyBrush
themeColorProvider.DefaultCandleUpBodyBrush = value
Gets or sets the default brush for the UpBodyBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultCandleUpWickColor { get; set; }
value = themeColorProvider.DefaultCandleUpWickColor
themeColorProvider.DefaultCandleUpWickColor = value
Gets or sets the default color for the UpWickColor
public Brush DefaultColorMapBrush { get; set; }
value = themeColorProvider.DefaultColorMapBrush
themeColorProvider.DefaultColorMapBrush = value
Gets or sets the default brush for the ColorMap. Accepts . Gradient Stops are used to compute colors of the final heat signature
public Brush DefaultColumnFillBrush { get; set; }
value = themeColorProvider.DefaultColumnFillBrush
themeColorProvider.DefaultColumnFillBrush = value
Gets or sets the default brush for the FillBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultColumnOutlineColor { get; set; }
value = themeColorProvider.DefaultColumnOutlineColor
themeColorProvider.DefaultColumnOutlineColor = value
Gets or sets the default color for the SeriesColor, which is used to style the column outline.
public Color DefaultDownBandFillColor { get; set; }
value = themeColorProvider.DefaultDownBandFillColor
themeColorProvider.DefaultDownBandFillColor = value
Gets or sets the default color for the BandDownColor
public Color DefaultDownBandLineColor { get; set; }
value = themeColorProvider.DefaultDownBandLineColor
themeColorProvider.DefaultDownBandLineColor = value
Gets or sets the default color for the Series1Color, which defines the down band line color
public Color DefaultLineSeriesColor { get; set; }
value = themeColorProvider.DefaultLineSeriesColor
themeColorProvider.DefaultLineSeriesColor = value
Gets or sets the default color for the SeriesColor. which is used to define the line color
public Brush DefaultMountainAreaBrush { get; set; }
value = themeColorProvider.DefaultMountainAreaBrush
themeColorProvider.DefaultMountainAreaBrush = value
Gets or sets the default brush for the AreaBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultMountainLineColor { get; set; }
value = themeColorProvider.DefaultMountainLineColor
themeColorProvider.DefaultMountainLineColor = value
Gets or sets the default color for the SeriesColor. which defines the mountain line color
public Brush DefaultTextAnnotationBackground { get; set; }
value = themeColorProvider.DefaultTextAnnotationBackground
themeColorProvider.DefaultTextAnnotationBackground = value
Gets or sets the default brush for the TextAnnotation background
public Brush DefaultTextAnnotationForeground { get; set; }
value = themeColorProvider.DefaultTextAnnotationForeground
themeColorProvider.DefaultTextAnnotationForeground = value
Gets or sets the default brush for the TextAnnotation text foreground
public Color DefaultUpBandFillColor { get; set; }
value = themeColorProvider.DefaultUpBandFillColor
themeColorProvider.DefaultUpBandFillColor = value
Gets or sets the default color for the BandUpColor
public Color DefaultUpBandLineColor { get; set; }
value = themeColorProvider.DefaultUpBandLineColor
themeColorProvider.DefaultUpBandLineColor = value
Gets or sets the default color for the SeriesColor, which defines the up band line color
public Brush GridBackgroundBrush { get; set; }
value = themeColorProvider.GridBackgroundBrush
themeColorProvider.GridBackgroundBrush = value
Gets or sets the background of the Gridlines area
public Brush GridBorderBrush { get; set; }
value = themeColorProvider.GridBorderBrush
themeColorProvider.GridBorderBrush = value
Gets or sets the brush used for Gridlines area border
public Brush LegendBackgroundBrush { get; set; }
value = themeColorProvider.LegendBackgroundBrush
themeColorProvider.LegendBackgroundBrush = value
Gets or sets the brush for the UltrachartLegend background
public Brush MajorGridLinesBrush { get; set; }
value = themeColorProvider.MajorGridLinesBrush
themeColorProvider.MajorGridLinesBrush = value
Gets or sets the brush for the AxisBase Major Grid lines. Expects a SolidColorBrush
public Brush MinorGridLinesBrush { get; set; }
value = themeColorProvider.MinorGridLinesBrush
themeColorProvider.MinorGridLinesBrush = value
Gets or sets the brush for the AxisBase Minor Grid lines. Expects a SolidColorBrush
public Brush OverviewFillBrush { get; set; }
value = themeColorProvider.OverviewFillBrush
themeColorProvider.OverviewFillBrush = value
Gets or sets the brush (fill) for the UltrachartOverview non-selected area
public Brush RolloverLabelBackgroundBrush { get; set; }
value = themeColorProvider.RolloverLabelBackgroundBrush
themeColorProvider.RolloverLabelBackgroundBrush = value
Gets or sets the brush for the RolloverModifier label background
public Brush RolloverLabelBorderBrush { get; set; }
value = themeColorProvider.RolloverLabelBorderBrush
themeColorProvider.RolloverLabelBorderBrush = value
Gets or sets the brush for the RolloverModifier label border
public Brush RolloverLineStroke { get; set; }
value = themeColorProvider.RolloverLineStroke
themeColorProvider.RolloverLineStroke = value
Gets or sets the brush for the RolloverModifier vertical line
public Brush RubberBandFillBrush { get; set; }
value = themeColorProvider.RubberBandFillBrush
themeColorProvider.RubberBandFillBrush = value
Gets or sets the brush for the RubberBandXyZoomModifier drag reticule fill
public Brush RubberBandStrokeBrush { get; set; }
value = themeColorProvider.RubberBandStrokeBrush
themeColorProvider.RubberBandStrokeBrush = value
Gets or sets the brush for the RubberBandXyZoomModifier drag reticule border
public Brush ScrollbarFillBrush { get; set; }
value = themeColorProvider.ScrollbarFillBrush
themeColorProvider.ScrollbarFillBrush = value
Gets or sets the brush (fill) for the UltrachartScrollbar viewport area
public Brush TickTextBrush { get; set; }
value = themeColorProvider.TickTextBrush
themeColorProvider.TickTextBrush = value
Gets or sets the brush for the AxisBase tick labels
public Brush UltrachartBackground { get; set; }
value = themeColorProvider.UltrachartBackground
themeColorProvider.UltrachartBackground = value
Gets or sets the background of the entire UltrachartSurface
Methods
public void ApplyTheme(IThemeProvider newTheme)
themeColorProvider.ApplyTheme(newTheme)
Applies a IThemeProvider instance to this instance, by overwriting all properties and raising INotifyPropertyChanged where necessary
- newTheme
- The new theme instance
public void ApplyTheme(ResourceDictionary dictionary)
themeColorProvider.ApplyTheme(dictionary)
Applies a ResourceDictionary to this IThemeProvider instance, by searching for the resources with the same keys (Names) as the property names in the IThemeProvider instance
- dictionary
- The ResourceDictionary source