ThemeColorProvider

StockSharp.Xaml.Charting.Themes

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

AxisBandsFill
public Color AxisBandsFill { get; set; }
value = themeColorProvider.AxisBandsFill
themeColorProvider.AxisBandsFill = value

Gets or sets the color for the AxisBase axis bands fill

CursorLabelBackgroundBrush
public Brush CursorLabelBackgroundBrush { get; set; }
value = themeColorProvider.CursorLabelBackgroundBrush
themeColorProvider.CursorLabelBackgroundBrush = value

Gets or sets the brush for the CursorModifier label background

CursorLabelBorderBrush
public Brush CursorLabelBorderBrush { get; set; }
value = themeColorProvider.CursorLabelBorderBrush
themeColorProvider.CursorLabelBorderBrush = value

Gets or sets the brush for the CursorModifier label border

CursorLabelForeground
public Brush CursorLabelForeground { get; set; }
value = themeColorProvider.CursorLabelForeground
themeColorProvider.CursorLabelForeground = value

Gets or sets the brush for the CursorModifier label text foreground

CursorLineBrush
public Brush CursorLineBrush { get; set; }
value = themeColorProvider.CursorLineBrush
themeColorProvider.CursorLineBrush = value

Gets or sets the brush for the CursorModifier line stroke

DefaultAxisMarkerAnnotationBackground
public Brush DefaultAxisMarkerAnnotationBackground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationBackground
themeColorProvider.DefaultAxisMarkerAnnotationBackground = value

Gets or sets the default brush for the AxisMarkerAnnotation background

DefaultAxisMarkerAnnotationForeground
public Brush DefaultAxisMarkerAnnotationForeground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationForeground
themeColorProvider.DefaultAxisMarkerAnnotationForeground = value

Gets or sets the default brush for the AxisMarkerAnnotation text-foreground

DefaultCandleDownBodyBrush
public Brush DefaultCandleDownBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleDownBodyBrush
themeColorProvider.DefaultCandleDownBodyBrush = value

Gets or sets the default brush for the DownBodyBrush. Accepts SolidColorBrush and LinearGradientBrush

DefaultCandleDownWickColor
public Color DefaultCandleDownWickColor { get; set; }
value = themeColorProvider.DefaultCandleDownWickColor
themeColorProvider.DefaultCandleDownWickColor = value

Gets or sets the default color for the DownWickColor

DefaultCandleUpBodyBrush
public Brush DefaultCandleUpBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleUpBodyBrush
themeColorProvider.DefaultCandleUpBodyBrush = value

Gets or sets the default brush for the UpBodyBrush. Accepts SolidColorBrush and LinearGradientBrush

DefaultCandleUpWickColor
public Color DefaultCandleUpWickColor { get; set; }
value = themeColorProvider.DefaultCandleUpWickColor
themeColorProvider.DefaultCandleUpWickColor = value

Gets or sets the default color for the UpWickColor

DefaultColorMapBrush
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

DefaultColumnFillBrush
public Brush DefaultColumnFillBrush { get; set; }
value = themeColorProvider.DefaultColumnFillBrush
themeColorProvider.DefaultColumnFillBrush = value

Gets or sets the default brush for the FillBrush. Accepts SolidColorBrush and LinearGradientBrush

DefaultColumnOutlineColor
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.

DefaultDownBandFillColor
public Color DefaultDownBandFillColor { get; set; }
value = themeColorProvider.DefaultDownBandFillColor
themeColorProvider.DefaultDownBandFillColor = value

Gets or sets the default color for the BandDownColor

DefaultDownBandLineColor
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

DefaultLineSeriesColor
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

DefaultMountainAreaBrush
public Brush DefaultMountainAreaBrush { get; set; }
value = themeColorProvider.DefaultMountainAreaBrush
themeColorProvider.DefaultMountainAreaBrush = value

Gets or sets the default brush for the AreaBrush. Accepts SolidColorBrush and LinearGradientBrush

DefaultMountainLineColor
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

DefaultTextAnnotationBackground
public Brush DefaultTextAnnotationBackground { get; set; }
value = themeColorProvider.DefaultTextAnnotationBackground
themeColorProvider.DefaultTextAnnotationBackground = value

Gets or sets the default brush for the TextAnnotation background

DefaultTextAnnotationForeground
public Brush DefaultTextAnnotationForeground { get; set; }
value = themeColorProvider.DefaultTextAnnotationForeground
themeColorProvider.DefaultTextAnnotationForeground = value

Gets or sets the default brush for the TextAnnotation text foreground

DefaultUpBandFillColor
public Color DefaultUpBandFillColor { get; set; }
value = themeColorProvider.DefaultUpBandFillColor
themeColorProvider.DefaultUpBandFillColor = value

Gets or sets the default color for the BandUpColor

DefaultUpBandLineColor
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

GridBackgroundBrush
public Brush GridBackgroundBrush { get; set; }
value = themeColorProvider.GridBackgroundBrush
themeColorProvider.GridBackgroundBrush = value

Gets or sets the background of the Gridlines area

GridBorderBrush
public Brush GridBorderBrush { get; set; }
value = themeColorProvider.GridBorderBrush
themeColorProvider.GridBorderBrush = value

Gets or sets the brush used for Gridlines area border

LegendBackgroundBrush
public Brush LegendBackgroundBrush { get; set; }
value = themeColorProvider.LegendBackgroundBrush
themeColorProvider.LegendBackgroundBrush = value

Gets or sets the brush for the UltrachartLegend background

MajorGridLinesBrush
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

MinorGridLinesBrush
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

OverviewFillBrush
public Brush OverviewFillBrush { get; set; }
value = themeColorProvider.OverviewFillBrush
themeColorProvider.OverviewFillBrush = value

Gets or sets the brush (fill) for the UltrachartOverview non-selected area

RolloverLabelBackgroundBrush
public Brush RolloverLabelBackgroundBrush { get; set; }
value = themeColorProvider.RolloverLabelBackgroundBrush
themeColorProvider.RolloverLabelBackgroundBrush = value

Gets or sets the brush for the RolloverModifier label background

RolloverLabelBorderBrush
public Brush RolloverLabelBorderBrush { get; set; }
value = themeColorProvider.RolloverLabelBorderBrush
themeColorProvider.RolloverLabelBorderBrush = value

Gets or sets the brush for the RolloverModifier label border

RolloverLineStroke
public Brush RolloverLineStroke { get; set; }
value = themeColorProvider.RolloverLineStroke
themeColorProvider.RolloverLineStroke = value

Gets or sets the brush for the RolloverModifier vertical line

RubberBandFillBrush
public Brush RubberBandFillBrush { get; set; }
value = themeColorProvider.RubberBandFillBrush
themeColorProvider.RubberBandFillBrush = value

Gets or sets the brush for the RubberBandXyZoomModifier drag reticule fill

RubberBandStrokeBrush
public Brush RubberBandStrokeBrush { get; set; }
value = themeColorProvider.RubberBandStrokeBrush
themeColorProvider.RubberBandStrokeBrush = value

Gets or sets the brush for the RubberBandXyZoomModifier drag reticule border

ScrollbarFillBrush
public Brush ScrollbarFillBrush { get; set; }
value = themeColorProvider.ScrollbarFillBrush
themeColorProvider.ScrollbarFillBrush = value

Gets or sets the brush (fill) for the UltrachartScrollbar viewport area

TickTextBrush
public Brush TickTextBrush { get; set; }
value = themeColorProvider.TickTextBrush
themeColorProvider.TickTextBrush = value

Gets or sets the brush for the AxisBase tick labels

UltrachartBackground
public Brush UltrachartBackground { get; set; }
value = themeColorProvider.UltrachartBackground
themeColorProvider.UltrachartBackground = value

Gets or sets the background of the entire UltrachartSurface

Methods

ApplyTheme
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
ApplyTheme
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