Skip to main content

Palette Property

Gets or sets the color palette.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

public IColorPalette? Palette { get; set; }

Property Value

IColorPalette

Remarks

This will automatically set both PaletteColors and PaletteColumnCount overwriting any existing values.

See Also

Reference

ColorView Class
Avalonia.Controls Namespace