Skip to main content

ColorCount Property

Gets the total number of colors in this palette. A color is not necessarily a single value and may be composed of several shades. This has little meaning in this palette as colors are not strictly separated.

Definition

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

public int ColorCount { get; }

Property Value

Int32

Implements

IColorPalette.ColorCount

See Also

Reference

FluentColorPalette Class
Avalonia.Controls Namespace