RayCraftDocs
v1.0.3 raycraft.dev
On this page

ColorPalette

Free

A grid of color swatches that works as a radio group: one tab stop, the arrow keys, Home and End move and choose. Colors are checked as six digit hex values.

Example

ColorPalette control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
ColorsIEnumerable<string>
ColumnsintColumn definitions: DataGridColumn elements.
DisabledboolDisables interaction.
DisplayNamestringName used in validation messages.
HelperTextstringHint shown below the field.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
ReadOnlyboolShows the value but does not allow changes.
StylestringInline style added to the root element.
ValuestringCurrent value. Use with @bind-Value.

Events

EventTypeDescription
ValueChangedEventCallback<string>Raised when the value changes.

Package

ColorPalette is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.