ThemeColorProvider
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
public Color AxisBandsFill { get; set; }
value = themeColorProvider.AxisBandsFill
themeColorProvider.AxisBandsFill = value
Obtiene o establece el color para el relleno de las bandas AxisBase axis
public Brush CursorLabelBackgroundBrush { get; set; }
value = themeColorProvider.CursorLabelBackgroundBrush
themeColorProvider.CursorLabelBackgroundBrush = value
Obtiene o establece el cepillo para el fondo de etiquetas CursorModifier
public Brush CursorLabelBorderBrush { get; set; }
value = themeColorProvider.CursorLabelBorderBrush
themeColorProvider.CursorLabelBorderBrush = value
Obtiene o establece el cepillo para la etiqueta CursorModifier
public Brush CursorLabelForeground { get; set; }
value = themeColorProvider.CursorLabelForeground
themeColorProvider.CursorLabelForeground = value
Obtiene o establece el pincel para el foreground CursorModifier
public Brush CursorLineBrush { get; set; }
value = themeColorProvider.CursorLineBrush
themeColorProvider.CursorLineBrush = value
Consigue o establece el cepillo para la línea CursorModifier
public Brush DefaultAxisMarkerAnnotationBackground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationBackground
themeColorProvider.DefaultAxisMarkerAnnotationBackground = value
Obtiene o establece el cepillo predeterminado para el fondo AxisMarkerAnnotation
public Brush DefaultAxisMarkerAnnotationForeground { get; set; }
value = themeColorProvider.DefaultAxisMarkerAnnotationForeground
themeColorProvider.DefaultAxisMarkerAnnotationForeground = value
Obtiene o establece el cepillo predeterminado para el AxisMarkerAnnotationtext-foreground
public Brush DefaultCandleDownBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleDownBodyBrush
themeColorProvider.DefaultCandleDownBodyBrush = value
Obtiene o establece el cepillo predeterminado para el DownBodyBrush. Acepta SolidColorBrush y LinearGradientBrush
public Color DefaultCandleDownWickColor { get; set; }
value = themeColorProvider.DefaultCandleDownWickColor
themeColorProvider.DefaultCandleDownWickColor = value
Obtiene o establece el color predeterminado para el DownWickColor
public Brush DefaultCandleUpBodyBrush { get; set; }
value = themeColorProvider.DefaultCandleUpBodyBrush
themeColorProvider.DefaultCandleUpBodyBrush = value
Obtiene o establece el cepillo predeterminado para el UpBodyBrush. Acepta SolidColorBrush y LinearGradientBrush
public Color DefaultCandleUpWickColor { get; set; }
value = themeColorProvider.DefaultCandleUpWickColor
themeColorProvider.DefaultCandleUpWickColor = value
Obtiene o establece el color predeterminado para el UpWickColor
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
public Brush DefaultColumnFillBrush { get; set; }
value = themeColorProvider.DefaultColumnFillBrush
themeColorProvider.DefaultColumnFillBrush = value
Obtiene o establece el cepillo predeterminado para el FillBrush. Acepta SolidColorBrush y LinearGradientBrush
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.
public Color DefaultDownBandFillColor { get; set; }
value = themeColorProvider.DefaultDownBandFillColor
themeColorProvider.DefaultDownBandFillColor = value
Obtiene o establece el color predeterminado para el BandDownColor
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
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
public Brush DefaultMountainAreaBrush { get; set; }
value = themeColorProvider.DefaultMountainAreaBrush
themeColorProvider.DefaultMountainAreaBrush = value
Obtiene o establece el cepillo predeterminado para el AreaBrush. Acepta SolidColorBrush y LinearGradientBrush
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
public Brush DefaultTextAnnotationBackground { get; set; }
value = themeColorProvider.DefaultTextAnnotationBackground
themeColorProvider.DefaultTextAnnotationBackground = value
Obtiene o establece el cepillo predeterminado para el fondo TextAnnotation
public Brush DefaultTextAnnotationForeground { get; set; }
value = themeColorProvider.DefaultTextAnnotationForeground
themeColorProvider.DefaultTextAnnotationForeground = value
Obtiene o establece el pincel predeterminado para el forfait TextAnnotation
public Color DefaultUpBandFillColor { get; set; }
value = themeColorProvider.DefaultUpBandFillColor
themeColorProvider.DefaultUpBandFillColor = value
Obtiene o establece el color predeterminado para el BandUpColor
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
public Brush GridBackgroundBrush { get; set; }
value = themeColorProvider.GridBackgroundBrush
themeColorProvider.GridBackgroundBrush = value
Obtiene o establece el fondo de la zona de Gridlines
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
public Brush LegendBackgroundBrush { get; set; }
value = themeColorProvider.LegendBackgroundBrush
themeColorProvider.LegendBackgroundBrush = value
Obtiene o establece el cepillo para el fondo UltrachartLegend
public Brush MajorGridLinesBrush { get; set; }
value = themeColorProvider.MajorGridLinesBrush
themeColorProvider.MajorGridLinesBrush = value
Consigue o establece el cepillo para las líneas AxisBaseMajor Grid.
public Brush MinorGridLinesBrush { get; set; }
value = themeColorProvider.MinorGridLinesBrush
themeColorProvider.MinorGridLinesBrush = value
Obtiene o establece el cepillo para las líneas AxisBase Minor Grid.
public Brush OverviewFillBrush { get; set; }
value = themeColorProvider.OverviewFillBrush
themeColorProvider.OverviewFillBrush = value
Obtiene o establece el cepillo (fill) para el área no seleccionada UltrachartOverview
public Brush RolloverLabelBackgroundBrush { get; set; }
value = themeColorProvider.RolloverLabelBackgroundBrush
themeColorProvider.RolloverLabelBackgroundBrush = value
Obtiene o establece el cepillo para el fondo de etiquetas RolloverModifier
public Brush RolloverLabelBorderBrush { get; set; }
value = themeColorProvider.RolloverLabelBorderBrush
themeColorProvider.RolloverLabelBorderBrush = value
Obtiene o establece el cepillo para la etiqueta RolloverModifier
public Brush RolloverLineStroke { get; set; }
value = themeColorProvider.RolloverLineStroke
themeColorProvider.RolloverLineStroke = value
Obtiene o establece el cepillo para la línea vertical RolloverModifier
public Brush RubberBandFillBrush { get; set; }
value = themeColorProvider.RubberBandFillBrush
themeColorProvider.RubberBandFillBrush = value
Obtiene o establece el cepillo para el relleno RubberBandXyZoomModifier drag reticule
public Brush RubberBandStrokeBrush { get; set; }
value = themeColorProvider.RubberBandStrokeBrush
themeColorProvider.RubberBandStrokeBrush = value
Obtiene o establece el cepillo para la frontera RubberBandXyZoomModifierdrag reticule
public Brush ScrollbarFillBrush { get; set; }
value = themeColorProvider.ScrollbarFillBrush
themeColorProvider.ScrollbarFillBrush = value
Consigue o establece el cepillo (fill) para el área de UltrachartScrollbarviewport
public Brush TickTextBrush { get; set; }
value = themeColorProvider.TickTextBrush
themeColorProvider.TickTextBrush = value
Obtiene o establece el cepillo para las etiquetas AxisBase
public Brush UltrachartBackground { get; set; }
value = themeColorProvider.UltrachartBackground
themeColorProvider.UltrachartBackground = value
Obtiene o establece el fondo de todo el UltrachartSurface
Métodos
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
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