RayCraftDocs
v1.0.3 raycraft.dev
On this page

ChipSet

Free

Chips that can be selected, for filters and tags. One choice by default, several with Multiple. Selected chips show a check mark.

Example

ChipSet control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
ItemDisabledFunc<TValue, bool>Returns true for items that cannot be changed; the other items stay editable.
ItemIconFunc<TValue, IconName?>Returns the icon of an item.
ItemsIEnumerable<TValue>The options to choose from.
ItemTextFunc<TValue, string>Converts an item to its display text (defaults to ToString()).
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
MultipleboolAllows several selected rows: click, Ctrl+click, Shift+click, Shift+arrows, Ctrl+A (VirtualList).
StylestringInline style added to the root element.
ValueTValueCurrent value. Use with @bind-Value.
ValuesIReadOnlyCollection<TValue>The numbers to plot.

Events

EventTypeDescription
ValueChangedEventCallback<TValue>Raised when the value changes.
ValuesChangedEventCallback<IReadOnlyCollection<TValue>>Raised when the chosen items change.

Package

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