Table of Contents

Class QueryStringThemeService

Namespace
Radzen
Assembly
Radzen.Blazor.dll

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

public class QueryStringThemeService : IDisposable
Inheritance
QueryStringThemeService
Implements
Inherited Members

Constructors

QueryStringThemeService(NavigationManager, ThemeService, IOptions<QueryStringThemeServiceOptions>)

Initializes a new instance of the QueryStringThemeService class.

public QueryStringThemeService(NavigationManager navigationManager, ThemeService themeService, IOptions<QueryStringThemeServiceOptions> options)

Parameters

navigationManager NavigationManager
themeService ThemeService
options IOptions<QueryStringThemeServiceOptions>

Methods

Dispose()

public void Dispose()