IColorPalette Interface
Interface to define a color palette.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public interface IColorPalette
Public Interface IColorPalette
type IColorPalette = interface end
Properties
ColorCount | Gets the total number of colors in this palette. A color is not necessarily a single value and may be composed of several shades. |
ShadeCount | Gets the total number of shades for each color in this palette. Shades are usually a variation of the color lightening or darkening it. |
Methods
GetColor(Int32, Int32) | Gets a color in the palette by index. |