QueryStringThemeService Class

Persist the current theme in the query string. Requires ThemeService to be registered in the DI container.

Inheritance

Object

QueryStringThemeService

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class QueryStringThemeService

Constructors

QueryStringThemeServicelink

Initializes a new instance of the QueryStringThemeService class.

Declaration
public QueryStringThemeService(NavigationManager navigationManager, ThemeService themeService, Microsoft.Extensions.Options.IOptions<QueryStringThemeServiceOptions> options)
Parameters
Type Name Description
NavigationManager navigationManager
ThemeService themeService
Microsoft.Extensions.Options.IOptions<QueryStringThemeServiceOptions> options

Methods

Disposelink

Declaration
public void Dispose()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙