ThemeColorProvider

StockSharp.Xaml.Charting.Themes

Define un proveedor de color de Tema Ultrachart, que proporciona Brujas y Colores para las plantillas de control XAML. Usted puede implementar IThemeProvider usted mismo y pasar a ThemeManager para establecer el tema global para todos los controles UltrachartSurface.

Hereda de: BindableObject

Implementa: IThemeProvider

Propiedades

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

Obtiene o establece el color para el relleno de las bandas AxisBase axis

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

Obtiene o establece el cepillo para el fondo de etiquetas CursorModifier

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

Obtiene o establece el cepillo para la etiqueta CursorModifier

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

Obtiene o establece el pincel para el foreground CursorModifier

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

Consigue o establece el cepillo para la línea CursorModifier

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

Obtiene o establece el cepillo predeterminado para el fondo AxisMarkerAnnotation

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

Obtiene o establece el cepillo predeterminado para el AxisMarkerAnnotationtext-foreground

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

Obtiene o establece el cepillo predeterminado para el DownBodyBrush. Acepta SolidColorBrush y LinearGradientBrush

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

Obtiene o establece el color predeterminado para el DownWickColor

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

Obtiene o establece el cepillo predeterminado para el UpBodyBrush. Acepta SolidColorBrush y LinearGradientBrush

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

Obtiene o establece el color predeterminado para el UpWickColor

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

Obtiene o establece el cepillo predeterminado para el ColorMap. Acepta. Paradas de alto nivel se utilizan para calcular los colores de la firma final de calor

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

Obtiene o establece el cepillo predeterminado para el FillBrush. Acepta SolidColorBrush y LinearGradientBrush

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

Obtiene o establece el color predeterminado para el SeriesColor@, que se utiliza para el estilo de la columna.

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

Obtiene o establece el color predeterminado para el BandDownColor

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

Obtiene o establece el color predeterminado para el Color Series1 que define el color de línea de banda hacia abajo

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

Obtiene o establece el color predeterminado para el SeriesColor. que se utiliza para definir el color de línea

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

Obtiene o establece el cepillo predeterminado para el AreaBrush. Acepta SolidColorBrush y LinearGradientBrush

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

Obtiene o establece el color predeterminado para el SeriesColor. que define el color de la línea de montaña

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

Obtiene o establece el cepillo predeterminado para el fondo TextAnnotation

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

Obtiene o establece el pincel predeterminado para el forfait TextAnnotation

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

Obtiene o establece el color predeterminado para el BandUpColor

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

Consigue o establece el color predeterminado para el SeriesColor, que define el color de la línea de banda

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

Obtiene o establece el fondo de la zona de Gridlines

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

Obtiene o establece el cepillo utilizado para la frontera de la zona de Gridlines

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

Obtiene o establece el cepillo para el fondo UltrachartLegend

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

Consigue o establece el cepillo para las líneas AxisBaseMajor Grid.

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

Obtiene o establece el cepillo para las líneas AxisBase Minor Grid.

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

Obtiene o establece el cepillo (fill) para el área no seleccionada UltrachartOverview

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

Obtiene o establece el cepillo para el fondo de etiquetas RolloverModifier

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

Obtiene o establece el cepillo para la etiqueta RolloverModifier

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

Obtiene o establece el cepillo para la línea vertical RolloverModifier

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

Obtiene o establece el cepillo para el relleno RubberBandXyZoomModifier drag reticule

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

Obtiene o establece el cepillo para la frontera RubberBandXyZoomModifierdrag reticule

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

Consigue o establece el cepillo (fill) para el área de UltrachartScrollbarviewport

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

Obtiene o establece el cepillo para las etiquetas AxisBase

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

Obtiene o establece el fondo de todo el UltrachartSurface

Métodos

ApplyTheme
public void ApplyTheme(IThemeProvider newTheme)
themeColorProvider.ApplyTheme(newTheme)

Aplica una instancia IThemeProvider@ a esta instancia, sobreescribiendo todas las propiedades y elevando INotifyPropertyChanged@si es necesario

newTheme
La nueva instancia temática
ApplyTheme
public void ApplyTheme(ResourceDictionary dictionary)
themeColorProvider.ApplyTheme(dictionary)

Aplica un ResourceDictionary a esta instancia IThemeProvider, buscando los recursos con las mismas llaves (Names) que los nombres de propiedades en la instancia IThemeProvider

dictionary
Fuente ResourceDictionary