IThemeProvider

StockSharp.Xaml.Charting.Themes

Defines the interface to a Ultrachart Theme, 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.

Properties

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

Gets or sets the color for the axis bands fill

BoxVolumeCellFontColor
public Color BoxVolumeCellFontColor { get; set; }
value = iThemeProvider.BoxVolumeCellFontColor
iThemeProvider.BoxVolumeCellFontColor = value

Gets or sets the color for the .

BoxVolumeHighVolColor
public Color BoxVolumeHighVolColor { get; set; }
value = iThemeProvider.BoxVolumeHighVolColor
iThemeProvider.BoxVolumeHighVolColor = value

Gets or sets the color for the .

BoxVolumeTimeframe2Color
public Color BoxVolumeTimeframe2Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2Color
iThemeProvider.BoxVolumeTimeframe2Color = value

Gets or sets the color for the .

BoxVolumeTimeframe2FrameColor
public Color BoxVolumeTimeframe2FrameColor { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2FrameColor
iThemeProvider.BoxVolumeTimeframe2FrameColor = value

Gets or sets the color for the .

BoxVolumeTimeframe3Color
public Color BoxVolumeTimeframe3Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe3Color
iThemeProvider.BoxVolumeTimeframe3Color = value

Gets or sets the color for the .

ClusterProfileClusterColor
public Color ClusterProfileClusterColor { get; set; }
value = iThemeProvider.ClusterProfileClusterColor
iThemeProvider.ClusterProfileClusterColor = value

Gets or sets the color for the .

ClusterProfileClusterMaxColor
public Color ClusterProfileClusterMaxColor { get; set; }
value = iThemeProvider.ClusterProfileClusterMaxColor
iThemeProvider.ClusterProfileClusterMaxColor = value

Gets or sets the color for the .

ClusterProfileLineColor
public Color ClusterProfileLineColor { get; set; }
value = iThemeProvider.ClusterProfileLineColor
iThemeProvider.ClusterProfileLineColor = value

Gets or sets the color for the .

ClusterProfileSeparatorLineColor
public Color ClusterProfileSeparatorLineColor { get; set; }
value = iThemeProvider.ClusterProfileSeparatorLineColor
iThemeProvider.ClusterProfileSeparatorLineColor = value

Gets or sets the color for the .

ClusterProfileTextColor
public Color ClusterProfileTextColor { get; set; }
value = iThemeProvider.ClusterProfileTextColor
iThemeProvider.ClusterProfileTextColor = value

Gets or sets the color for the .

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

Gets or sets the brush for the label background

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

Gets or sets the brush for the label border

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

Gets or sets the brush for the label text foreground

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

Gets or sets the brush for the line stroke

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

Gets or sets the default brush for the background

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

Gets or sets the default brush for the text-foreground

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

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

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

Gets or sets the default color for the DownWickColor

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

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

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

Gets or sets the default color for the UpWickColor

DefaultColorMapBrush
public Brush DefaultColorMapBrush { get; set; }
value = iThemeProvider.DefaultColorMapBrush
iThemeProvider.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 = iThemeProvider.DefaultColumnFillBrush
iThemeProvider.DefaultColumnFillBrush = value

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

DefaultColumnOutlineColor
public Color DefaultColumnOutlineColor { get; set; }
value = iThemeProvider.DefaultColumnOutlineColor
iThemeProvider.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 = iThemeProvider.DefaultDownBandFillColor
iThemeProvider.DefaultDownBandFillColor = value

Gets or sets the default color for the BandDownColor

DefaultDownBandLineColor
public Color DefaultDownBandLineColor { get; set; }
value = iThemeProvider.DefaultDownBandLineColor
iThemeProvider.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 = iThemeProvider.DefaultLineSeriesColor
iThemeProvider.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 = iThemeProvider.DefaultMountainAreaBrush
iThemeProvider.DefaultMountainAreaBrush = value

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

DefaultMountainLineColor
public Color DefaultMountainLineColor { get; set; }
value = iThemeProvider.DefaultMountainLineColor
iThemeProvider.DefaultMountainLineColor = value

Gets or sets the default color for the SeriesColor. which defines the mountain line color

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

Gets or sets the default brush for the background

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

Gets or sets the default brush for the text foreground

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

Gets or sets the default color for the BandUpColor

DefaultUpBandLineColor
public Color DefaultUpBandLineColor { get; set; }
value = iThemeProvider.DefaultUpBandLineColor
iThemeProvider.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 = iThemeProvider.GridBackgroundBrush
iThemeProvider.GridBackgroundBrush = value

Gets or sets the background of the Gridlines area

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

Gets or sets the brush used for Gridlines area border

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

Gets or sets the brush for the background

MajorGridLinesBrush
public Brush MajorGridLinesBrush { get; set; }
value = iThemeProvider.MajorGridLinesBrush
iThemeProvider.MajorGridLinesBrush = value

Gets or sets the brush for the AxisBase Major Grid lines. Expects a SolidColorBrush

MinorGridLinesBrush
public Brush MinorGridLinesBrush { get; set; }
value = iThemeProvider.MinorGridLinesBrush
iThemeProvider.MinorGridLinesBrush = value

Gets or sets the brush for the AxisBase Minor Grid lines. Expects a SolidColorBrush

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

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

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

Gets or sets the brush for the RolloverModifier label background

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

Gets or sets the brush for the RolloverModifier label border

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

Gets or sets the brush for the RolloverModifier vertical line

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

Gets or sets the brush for the drag reticule fill

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

Gets or sets the brush for the drag reticule border

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

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

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

Gets or sets the brush for the AxisBase tick labels

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

Gets or sets the background of the entire UltrachartSurface

Methods

ApplyTheme
public void ApplyTheme(ResourceDictionary dictionary)
iThemeProvider.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 source
ApplyTheme
public void ApplyTheme(IThemeProvider newTheme)
iThemeProvider.ApplyTheme(newTheme)

Applies a IThemeProvider instance to this instance, by overwriting all properties and raising INotifyPropertyChanged where necessary

newTheme
The new theme instance