IThemeProvider

StockSharp.Xaml.Charting.Themes

定义一个 Ultrachart 主题的界面,该主题为 XAML 控制模板提供 Brushes 和 Collors 。您可以执行 IThemeProvider, 并传递到 ThemeManager, 为所有 UltrachartSurface 控制设置全局主题 。

属性

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

获取或设置轴带所填充的颜色

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置颜色为 。

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

获取或设置标签背景的刷子

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

获取或设置标签边框的刷子

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

获取或设置标签文本前景的刷子

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

获取或设置线条中线的刷子

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

获取或设置背景的默认刷子

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

获取或设置文本前景的默认刷子

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

获取或设置 & # ###DownBodyBrush ###的默认刷子。接受 & ##SolidColorBrush ##和 ###LinearGradientBrush ####

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

获取或设置 & #% DownWickColor #% 的默认颜色

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

获取或设置 & # ###UpBodyBrush ###的默认刷子。接受 & ##SolidColorBrush ##和 ###LinearGradientBrush ####

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

获取或设置 & #% UpWickColor #% 的默认颜色

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

获取或设置 & #% ColorMap\\\ 的默认刷子。 接受。 渐变停止用于计算最终热签名的颜色 。

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

获取或设置 & # ###FillBrush ###的默认刷子。接受 & ##SolidColorBrush ##和 ###LinearGradientBrush ####

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

获取或设置 & # #SeriesColor\\的默认颜色,用于样式列大纲.

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

获取或设置 & #% BandDownColor #% 的默认颜色

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

获取或设置序列1Color的默认颜色,该颜色定义了下行带颜色

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

获取或设置用于定义行色的 SeriesColor 的默认颜色

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

获取或设置 &% AreaBrush\\\\ 的默认刷子。 接受和

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

获取或设置定义山地行色的 SeriesColor 的默认颜色

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

获取或设置背景的默认刷子

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

获取或设置文本前景的默认刷子

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

获取或设置 & #% BandUpColor #% 的默认颜色

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

获取或设置 SeriesColor 的默认颜色, 定义了带状线条颜色

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

获取或设置网格区域的背景

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

获取或设置用于网格线区域边框的刷子

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

获取或设置背景刷

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

获取或设置 AxisBase 主要网格线的刷子。 需要 SolidColorBrush 。

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

获取或设置 & # ###AxisBase\ # 小网格线的刷子。 期望有 & ###SolidColorBrush\ # # # # #

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

为非选定区域获取或设置刷子( 填充)

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

获取或设置 & # ###RolloverModifier # #标签背景的刷子

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

获取或设置 & #% RolloverModifier #% 标签边框的刷子

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

获取或设置 RolloverModifier 垂直线的刷子

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

获取或设置拖动式排版填充的刷子

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

获取或设置拖动的复刻边框的刷子

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

获取或设置 & #% UltrachartScrollbar 的取景区刷子( 填充)

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

获取或设置 & #% AxisBase\% 勾选标签的刷子

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

获取或设定整个 UltrachartSurface 的背景

方法

ApplyTheme
public void ApplyTheme(ResourceDictionary dictionary)
iThemeProvider.ApplyTheme(dictionary)

应用 ResourceDictionary 来应用 IThemeProvider 实例, 方法是搜索 IThemeProvider 实例中与属性名称相同的密钥(名称) 资源

dictionary
来源
ApplyTheme
public void ApplyTheme(IThemeProvider newTheme)
iThemeProvider.ApplyTheme(newTheme)

将 IThemeProvider 实例适用于此实例, 覆盖所有属性, 并在必要时提高 INotifyPropertyChanged 。

newTheme
新主题实例