CustomPalette Members
Represents a custom palette (collection of colors) used to draw a chart.Constructors
| Name | Description |
|---|---|
| CustomPalette() | Initializes a new instance of the CustomPalette class with default settings. |
| CustomPalette(Color[]) | Initializes a new instance of the CustomPalette class with specified settings. |
Fields
| Name | Description |
|---|---|
| ColorItemsSourceProperty static | Identifies the ColorItemsSource dependency property. |
Properties
| Name | Description |
|---|---|
| ColorCycleLength | Gets or sets the count of different colors that the palette provides. Inherited from PaletteBase. |
| ColorItemsSource | Gets or sets the source collection of the Palette’s colors. |
| Colors | Gets the colors of the custom palette. |
| ColorsSerializable | Gets or sets the collection of a CustomPalette’s colors to support serialization of the custom palette type. |
| Count | Gets the number of colors in the palette. Inherited from PaletteBase. |
| Item[Int32] | Gets an item of the color collection (palette) by its index. Inherited from PaletteBase. |
| PaletteName | Gets the name of the CustomPalette. |
| TypeNameSerializable | Gets the string value used to support serialization of the chart dependency object. Inherited from ChartDependencyObject. |
Methods
| Name | Description |
|---|---|
| GetPredefinedKinds() static | Returns the list of predefined palettes. Inherited from Palette. |
Events
| Name | Description |
|---|---|
| PropertyChanged | Occurs every time any of the ChartDependencyObject class properties has changed its value. Inherited from ChartDependencyObject. |
See Also