ThemeSwitcher

This documentation provides a comprehensive reference for the ThemeSwitcher component, guiding you through its configuration options.
Demos

Screenshot #

Blazor ThemeSwitcher Component

Parameters #

Name Type Default Required Description Added Version
AdditionalAttributes Dictionary<string, object>? null Gets or sets additional attributes that will be applied to the component. 1.0.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 1.0.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 1.0.0
Position DropdownMenuPosition Start Gets or sets the dropdown menu position. 3.2.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 1.0.0

Events #

Name Return Type Description Added Version
OnThemeChanged EventCallback<string> Fired when the theme is changed. 3.2.0

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.