ThemeOptions Class

Options for changing the theme.

Inheritance

Object

ThemeOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class ThemeOptions

Constructors

ThemeOptionslink

Options for changing the theme.

Declaration
public ThemeOptions()

Properties

RightToLeftlink

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

Specifies the theme.

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

TriggerChangelink

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

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 🗙