ThemeOptions Class

Options for changing the theme.

Inheritance

Object

ThemeOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class ThemeOptions

Constructors

ThemeOptionsLink to this section

Options for changing the theme.

Declaration
public ThemeOptions()

Properties

RightToLeftLink to this section

Specifies if the theme should be right-to-left.

Declaration
public bool? RightToLeft { get; set; }
Property Value
Type Description
bool?Specifies if the theme should be right-to-left.

ThemeLink to this section

Specifies the theme.

Declaration
public string Theme { get; set; }
Property Value
Type Description
stringSpecifies the theme.

TriggerChangeLink to this section

Specifies if the theme change should trigger the ThemeChanged event.

Declaration
public bool TriggerChange { get; set; }
Property Value
Type Description
boolSpecifies if the theme change should trigger the ThemeChanged event.

WcagLink to this section

Specifies if the theme colors should meet WCAG contrast requirements.

Declaration
public bool? Wcag { get; set; }
Property Value
Type Description
bool?Specifies if the theme colors should meet WCAG contrast requirements.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙