IThemeProvider
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
public Color AxisBandsFill { get; set; }
value = iThemeProvider.AxisBandsFill
iThemeProvider.AxisBandsFill = value
Gets or sets the color for the axis bands fill
public Color BoxVolumeCellFontColor { get; set; }
value = iThemeProvider.BoxVolumeCellFontColor
iThemeProvider.BoxVolumeCellFontColor = value
Gets or sets the color for the .
public Color BoxVolumeHighVolColor { get; set; }
value = iThemeProvider.BoxVolumeHighVolColor
iThemeProvider.BoxVolumeHighVolColor = value
Gets or sets the color for the .
public Color BoxVolumeTimeframe2Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2Color
iThemeProvider.BoxVolumeTimeframe2Color = value
Gets or sets the color for the .
public Color BoxVolumeTimeframe2FrameColor { get; set; }
value = iThemeProvider.BoxVolumeTimeframe2FrameColor
iThemeProvider.BoxVolumeTimeframe2FrameColor = value
Gets or sets the color for the .
public Color BoxVolumeTimeframe3Color { get; set; }
value = iThemeProvider.BoxVolumeTimeframe3Color
iThemeProvider.BoxVolumeTimeframe3Color = value
Gets or sets the color for the .
public Color ClusterProfileClusterColor { get; set; }
value = iThemeProvider.ClusterProfileClusterColor
iThemeProvider.ClusterProfileClusterColor = value
Gets or sets the color for the .
public Color ClusterProfileClusterMaxColor { get; set; }
value = iThemeProvider.ClusterProfileClusterMaxColor
iThemeProvider.ClusterProfileClusterMaxColor = value
Gets or sets the color for the .
public Color ClusterProfileLineColor { get; set; }
value = iThemeProvider.ClusterProfileLineColor
iThemeProvider.ClusterProfileLineColor = value
Gets or sets the color for the .
public Color ClusterProfileSeparatorLineColor { get; set; }
value = iThemeProvider.ClusterProfileSeparatorLineColor
iThemeProvider.ClusterProfileSeparatorLineColor = value
Gets or sets the color for the .
public Color ClusterProfileTextColor { get; set; }
value = iThemeProvider.ClusterProfileTextColor
iThemeProvider.ClusterProfileTextColor = value
Gets or sets the color for the .
public Brush CursorLabelBackgroundBrush { get; set; }
value = iThemeProvider.CursorLabelBackgroundBrush
iThemeProvider.CursorLabelBackgroundBrush = value
Gets or sets the brush for the label background
public Brush CursorLabelBorderBrush { get; set; }
value = iThemeProvider.CursorLabelBorderBrush
iThemeProvider.CursorLabelBorderBrush = value
Gets or sets the brush for the label border
public Brush CursorLabelForeground { get; set; }
value = iThemeProvider.CursorLabelForeground
iThemeProvider.CursorLabelForeground = value
Gets or sets the brush for the label text foreground
public Brush CursorLineBrush { get; set; }
value = iThemeProvider.CursorLineBrush
iThemeProvider.CursorLineBrush = value
Gets or sets the brush for the line stroke
public Brush DefaultAxisMarkerAnnotationBackground { get; set; }
value = iThemeProvider.DefaultAxisMarkerAnnotationBackground
iThemeProvider.DefaultAxisMarkerAnnotationBackground = value
Gets or sets the default brush for the background
public Brush DefaultAxisMarkerAnnotationForeground { get; set; }
value = iThemeProvider.DefaultAxisMarkerAnnotationForeground
iThemeProvider.DefaultAxisMarkerAnnotationForeground = value
Gets or sets the default brush for the text-foreground
public Brush DefaultCandleDownBodyBrush { get; set; }
value = iThemeProvider.DefaultCandleDownBodyBrush
iThemeProvider.DefaultCandleDownBodyBrush = value
Gets or sets the default brush for the DownBodyBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultCandleDownWickColor { get; set; }
value = iThemeProvider.DefaultCandleDownWickColor
iThemeProvider.DefaultCandleDownWickColor = value
Gets or sets the default color for the DownWickColor
public Brush DefaultCandleUpBodyBrush { get; set; }
value = iThemeProvider.DefaultCandleUpBodyBrush
iThemeProvider.DefaultCandleUpBodyBrush = value
Gets or sets the default brush for the UpBodyBrush. Accepts SolidColorBrush and LinearGradientBrush
public Color DefaultCandleUpWickColor { get; set; }
value = iThemeProvider.DefaultCandleUpWickColor
iThemeProvider.DefaultCandleUpWickColor = value
Gets or sets the default color for the UpWickColor
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
public Brush DefaultColumnFillBrush { get; set; }
value = iThemeProvider.DefaultColumnFillBrush
iThemeProvider.DefaultColumnFillBrush = value
Gets or sets the default brush for the FillBrush. Accepts SolidColorBrush and LinearGradientBrush
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.
public Color DefaultDownBandFillColor { get; set; }
value = iThemeProvider.DefaultDownBandFillColor
iThemeProvider.DefaultDownBandFillColor = value
Gets or sets the default color for the BandDownColor
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
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
public Brush DefaultMountainAreaBrush { get; set; }
value = iThemeProvider.DefaultMountainAreaBrush
iThemeProvider.DefaultMountainAreaBrush = value
Gets or sets the default brush for the AreaBrush. Accepts and
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
public Brush DefaultTextAnnotationBackground { get; set; }
value = iThemeProvider.DefaultTextAnnotationBackground
iThemeProvider.DefaultTextAnnotationBackground = value
Gets or sets the default brush for the background
public Brush DefaultTextAnnotationForeground { get; set; }
value = iThemeProvider.DefaultTextAnnotationForeground
iThemeProvider.DefaultTextAnnotationForeground = value
Gets or sets the default brush for the text foreground
public Color DefaultUpBandFillColor { get; set; }
value = iThemeProvider.DefaultUpBandFillColor
iThemeProvider.DefaultUpBandFillColor = value
Gets or sets the default color for the BandUpColor
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
public Brush GridBackgroundBrush { get; set; }
value = iThemeProvider.GridBackgroundBrush
iThemeProvider.GridBackgroundBrush = value
Gets or sets the background of the Gridlines area
public Brush GridBorderBrush { get; set; }
value = iThemeProvider.GridBorderBrush
iThemeProvider.GridBorderBrush = value
Gets or sets the brush used for Gridlines area border
public Brush LegendBackgroundBrush { get; set; }
value = iThemeProvider.LegendBackgroundBrush
iThemeProvider.LegendBackgroundBrush = value
Gets or sets the brush for the background
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
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
public Brush OverviewFillBrush { get; set; }
value = iThemeProvider.OverviewFillBrush
iThemeProvider.OverviewFillBrush = value
Gets or sets the brush (fill) for the non-selected area
public Brush RolloverLabelBackgroundBrush { get; set; }
value = iThemeProvider.RolloverLabelBackgroundBrush
iThemeProvider.RolloverLabelBackgroundBrush = value
Gets or sets the brush for the RolloverModifier label background
public Brush RolloverLabelBorderBrush { get; set; }
value = iThemeProvider.RolloverLabelBorderBrush
iThemeProvider.RolloverLabelBorderBrush = value
Gets or sets the brush for the RolloverModifier label border
public Brush RolloverLineStroke { get; set; }
value = iThemeProvider.RolloverLineStroke
iThemeProvider.RolloverLineStroke = value
Gets or sets the brush for the RolloverModifier vertical line
public Brush RubberBandFillBrush { get; set; }
value = iThemeProvider.RubberBandFillBrush
iThemeProvider.RubberBandFillBrush = value
Gets or sets the brush for the drag reticule fill
public Brush RubberBandStrokeBrush { get; set; }
value = iThemeProvider.RubberBandStrokeBrush
iThemeProvider.RubberBandStrokeBrush = value
Gets or sets the brush for the drag reticule border
public Brush ScrollbarFillBrush { get; set; }
value = iThemeProvider.ScrollbarFillBrush
iThemeProvider.ScrollbarFillBrush = value
Gets or sets the brush (fill) for the UltrachartScrollbar viewport area
public Brush TickTextBrush { get; set; }
value = iThemeProvider.TickTextBrush
iThemeProvider.TickTextBrush = value
Gets or sets the brush for the AxisBase tick labels
public Brush UltrachartBackground { get; set; }
value = iThemeProvider.UltrachartBackground
iThemeProvider.UltrachartBackground = value
Gets or sets the background of the entire UltrachartSurface
Methods
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
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