RayCraftDocs
v1.0.3 raycraft.dev
On this page

Tabs

Free

Switches between panels. Supports the arrow keys, Home and End.

Example

Tabs control

Parameters

Tabs

ParameterTypeDescription
ActiveIndexintIndex of the selected tab. Use with @bind-ActiveIndex.
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
StylestringInline style added to the root element.

TabPanel

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
ClosableboolShows a close button on the tab.
DisabledboolDisables interaction.
TitlestringTitle text (drawer header, tab caption, column header, step caption).

Events

Tabs

EventTypeDescription
ActiveIndexChangedEventCallback<int>Raised when another tab is selected.

TabPanel

EventTypeDescription
OnCloseEventCallback

Package

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