PaletteColors Property
Gets or sets the collection of individual colors in the palette.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public IEnumerable<Color>? PaletteColors { get; set; }
Public Property PaletteColors As IEnumerable(Of Color)
Get
Set
member PaletteColors : IEnumerable<Color> with get, set
Property Value
Remarks
This is not commonly set manually. Instead, it should be set automatically by providing an IColorPalette to the Palette property.
Also note that this property is what should be bound in the control template. Palette is too high-level to use on its own.