PaletteColumnCount Property
Gets or sets the number of colors in each row (section) of the color palette. Within a standard palette, rows are shades and columns are colors.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)
- C#
- VB
- F#
public int PaletteColumnCount { get; set; }
Public Property PaletteColumnCount As Integer
Get
Set
member PaletteColumnCount : int with get, set
Property Value
Int32Remarks
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.