Class SmithChartColorModel
SmithChartColorModel contains a number of color palette and have custom brushes collection to populate a custom palette.
Inheritance
Namespace: Syncfusion.UI.Xaml.SmithChart
Assembly: Syncfusion.SfSmithChart.WPF.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 |
---|
System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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 |
---|---|
System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.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<System.Windows.Media.Brush> | Brushes for TomatoSpectrum |