RayCraftDocs
v1.0.3 raycraft.dev
On this page

TitleIndex

Free

A list grouped by first letter with a letter bar on top. A letter moves the focus (and the view) to its section; letters without items are disabled.

Example

TitleIndex control

Parameters

ParameterTypeDescription
AlphabetstringThe letters of the bar; the default follows the language.
ClassstringExtra CSS classes added to the root element.
ItemsIEnumerable<TItem>The items to list.
ItemTemplateRenderFragment<TItem>Custom content of an item.
LabelstringAccessible name of the letter bar.
StylestringInline style added to the root element.
TextFunc<TItem, string>Text of an item used for sorting and grouping.

Events

EventTypeDescription
OnItemClickEventCallback<TItem>Makes the items buttons and is raised when one is used.

Package

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