Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

ColorPanel

Since 0.1.0-alpha.22
Lets the user choose a color inline: swatches, a picker, or both.

IzzyBlazor.ColorPanel in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (10)

SwatchesIEnumerable<string>? (computed)Added in 0.1.0-alpha.22

The swatches, as hex strings. Defaults to 21 colors: seven hues in a light, a middle and a dark shade. An empty list shows none.

SwatchTextFunc<string, string?>? (computed)Added in 0.1.0-alpha.22

A name for each swatch, such as "Ocean", given its hex string; screen readers hear it and it's the tooltip. Defaults to the color's name ("light green").

ShowPickerbool = trueAdded in 0.1.0-alpha.22

The picker: a saturation and brightness area and a hue slider. Defaults to true.

ShowAlphabool = falseAdded in 0.1.0-alpha.22

An opacity slider and field; a color that isn't opaque is #rrggbbaa. Off by default.

ShowFieldsbool = trueAdded in 0.1.0-alpha.22

Hex, red, green and blue fields (and opacity with ShowAlpha). Defaults to true.

Clearablebool = falseAdded in 0.1.0-alpha.22

A "no color" swatch first, which makes the value null.

ShowEyedropperbool = falseAdded in 0.1.0-alpha.22

An eyedropper button beside the fields, shown only in browsers that have one (Chromium).

ReadOnlybool = falseAdded in 0.1.0-alpha.22

Makes the field read-only: nothing changes it, and it still posts.

@bind-Valuestring?Added in 0.1.0-alpha.22

The value, bound with @bind-Value.

DisplayNamestring?Added in 0.1.0-alpha.22

The field's name in validation messages from the input itself, such as a value that can't be parsed.

Events (0)

No events.

Connection lost

Rejoining the server…