Persist the current theme in the query string. Requires ThemeService to be registered in the DI container.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class QueryStringThemeServiceInitializes a new instance of the QueryStringThemeService class.
public QueryStringThemeService(NavigationManager navigationManager, ThemeService themeService, Microsoft.Extensions.Options.IOptions<QueryStringThemeServiceOptions> options)
| Type | Name | Description |
|---|---|---|
| NavigationManager | navigationManager | |
| ThemeService | themeService | |
| Microsoft.Extensions.Options.IOptions<QueryStringThemeServiceOptions> | options |