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.

Definition​

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

public int ColorCount { get; }

Property Value​

Int32

Implements​

IColorPalette.ColorCount

Remarks​

Represents total columns in a table.

See Also​

Reference​

MaterialHalfColorPalette Class
Avalonia.Controls Namespace