menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SmithChartColorModel - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SmithChartColorModel

    SmithChartColorModel contains a number of color palette and have custom brushes collection to populate a custom palette.

    Inheritance
    System.Object
    SmithChartColorModel
    Namespace: Syncfusion.UI.Xaml.SmithChart
    Assembly: Syncfusion.SfSmithChart.UWP.dll
    Syntax
    public class SmithChartColorModel : DependencyObject

    Constructors

    SmithChartColorModel()

    Initializes a new instance of the SmithChartColorModel class.

    Declaration
    public SmithChartColorModel()

    Fields

    PaletteProperty

    The DependencyProperty for Palette property.

    Declaration
    public static readonly DependencyProperty PaletteProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    CustomBrushes

    Gets or sets the custom brushes to be used to paint the interiors of each segment or series.

    Declaration
    public List<Brush> CustomBrushes { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Palette

    Gets or sets the color palette.

    Declaration
    public ColorPalette Palette { get; set; }
    Property Value
    Type
    ColorPalette

    Methods

    GetAutumnBrushes()

    Returns the brushes used for AutumnBrights palette.

    Declaration
    public List<Brush> GetAutumnBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for AutumnBrights

    GetBlueChromeBrushes()

    Returns the brushes used for BlueChrome palette.

    Declaration
    public List<Brush> GetBlueChromeBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for BlueChrome.

    GetBrush(Int32)

    Returns the brush at the specified index for current palette

    Declaration
    public Brush GetBrush(int colorIndex)
    Parameters
    Type Name Description
    System.Int32 colorIndex

    The Color Index

    Returns
    Type Description
    Windows.UI.Xaml.Media.Brush

    The Brush value.

    GetBrushes(ColorPalette)

    Returns the collection of brushes for specified palette

    Declaration
    public List<Brush> GetBrushes(ColorPalette palette)
    Parameters
    Type Name Description
    ColorPalette palette

    Color Palette

    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    List of brushes

    GetEliteBrushes()

    Returns the brushes used for Elite palette.

    Declaration
    public List<Brush> GetEliteBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for Elite

    GetFloraHuesBrushes()

    Returns the brushes used for FloraHues palette.

    Declaration
    public List<Brush> GetFloraHuesBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for FloraHues.

    GetGreenChromeBrushes()

    Returns the brushes used for GreenChrome palette.

    Declaration
    public List<Brush> GetGreenChromeBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for GreenChrome

    GetLightCandyBrushes()

    Returns the brushes used for LightCandy palette.

    Declaration
    public List<Brush> GetLightCandyBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for LightCandy.

    GetMetroBrushes()

    Returns the brushes used for Metro palette.

    Declaration
    public List<Brush> GetMetroBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for Metro

    GetPineappleBrushes()

    Returns the brushes used for Pineapple palette.

    Declaration
    public List<Brush> GetPineappleBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for Pineapple

    GetPurpleChromeBrushes()

    Returns the brushes used for PurpleChrome palette.

    Declaration
    public List<Brush> GetPurpleChromeBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for PurpleChrome.

    GetRedChromeBrushes()

    Returns the brushes used for RedChrome palette.

    Declaration
    public List<Brush> GetRedChromeBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for RedChrome

    GetSandyBeachBrushes()

    Returns the brushes used for SandyBeach palette.

    Declaration
    public List<Brush> GetSandyBeachBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for SandyBeach.

    GetTomatoSpectrumBrushes()

    Returns the brushes used for TomatoSpectrum palette.

    Declaration
    public List<Brush> GetTomatoSpectrumBrushes()
    Returns
    Type Description
    System.Collections.Generic.List<Windows.UI.Xaml.Media.Brush>

    Brushes for TomatoSpectrum

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved