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.

Наследует: BindableObject

Реализует: IThemeProvider

Свойства

AxisBandsFill : Color

Gets or sets the color for the AxisBase axis bands fill

CursorLabelBackgroundBrush : Brush

Gets or sets the brush for the CursorModifier label background

CursorLabelBorderBrush : Brush

Gets or sets the brush for the CursorModifier label border

CursorLabelForeground : Brush

Gets or sets the brush for the CursorModifier label text foreground

CursorLineBrush : Brush

Gets or sets the brush for the CursorModifier line stroke

DefaultAxisMarkerAnnotationBackground : Brush

Gets or sets the default brush for the AxisMarkerAnnotation background

DefaultAxisMarkerAnnotationForeground : Brush

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

DefaultCandleDownBodyBrush : Brush

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

DefaultCandleDownWickColor : Color

Gets or sets the default color for the DownWickColor

DefaultCandleUpBodyBrush : Brush

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

DefaultCandleUpWickColor : Color

Gets or sets the default color for the UpWickColor

DefaultColorMapBrush : Brush

Gets or sets the default brush for the ColorMap. Accepts . Gradient Stops are used to compute colors of the final heat signature

DefaultColumnFillBrush : Brush

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

DefaultColumnOutlineColor : Color

Gets or sets the default color for the SeriesColor, which is used to style the column outline.

DefaultDownBandFillColor : Color

Gets or sets the default color for the BandDownColor

DefaultDownBandLineColor : Color

Gets or sets the default color for the Series1Color, which defines the down band line color

DefaultLineSeriesColor : Color

Gets or sets the default color for the SeriesColor. which is used to define the line color

DefaultMountainAreaBrush : Brush

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

DefaultMountainLineColor : Color

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

DefaultTextAnnotationBackground : Brush

Gets or sets the default brush for the TextAnnotation background

DefaultTextAnnotationForeground : Brush

Gets or sets the default brush for the TextAnnotation text foreground

DefaultUpBandFillColor : Color

Gets or sets the default color for the BandUpColor

DefaultUpBandLineColor : Color

Gets or sets the default color for the SeriesColor, which defines the up band line color

GridBackgroundBrush : Brush

Gets or sets the background of the Gridlines area

GridBorderBrush : Brush

Gets or sets the brush used for Gridlines area border

LegendBackgroundBrush : Brush

Gets or sets the brush for the UltrachartLegend background

MajorGridLinesBrush : Brush

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

MinorGridLinesBrush : Brush

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

OverviewFillBrush : Brush

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

RolloverLabelBackgroundBrush : Brush

Gets or sets the brush for the RolloverModifier label background

RolloverLabelBorderBrush : Brush

Gets or sets the brush for the RolloverModifier label border

RolloverLineStroke : Brush

Gets or sets the brush for the RolloverModifier vertical line

RubberBandFillBrush : Brush

Gets or sets the brush for the RubberBandXyZoomModifier drag reticule fill

RubberBandStrokeBrush : Brush

Gets or sets the brush for the RubberBandXyZoomModifier drag reticule border

ScrollbarFillBrush : Brush

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

TickTextBrush : Brush

Gets or sets the brush for the AxisBase tick labels

UltrachartBackground : Brush

Gets or sets the background of the entire UltrachartSurface

Методы

ApplyTheme(IThemeProvider)

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

newTheme
The new theme instance
ApplyTheme(ResourceDictionary)

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