RayCraftDocs
v1.0.3 raycraft.dev
On this page

Cascader

Free

Pick one value from a hierarchy: a column of choices opens a column of sub choices. Arrow keys move, Right opens the next column, Left goes back, Enter chooses.

Example

Cascader control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
DisplayNamestringName used in validation messages.
HelperTextstringHint shown below the field.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
NodesIEnumerable<CascaderNode>The top level choices; each can have children.
PathSeparatorstringText between the levels in the shown path.
PlaceholderstringPlaceholder shown when the field is empty.
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

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