New to Telerik UI for WPFStart a free 30-day trial

MaterialTheme class represents the key to the Material theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[ThemeLocation(ThemeLocation.BuiltIn)]
public class MaterialTheme : Theme

Inheritance: objectThemeMaterialTheme

Inherited Members Theme.ToString()

Constructors

Initializes a new instance of the MaterialTheme class.

C#
public MaterialTheme()

Initializes a new instance of the MaterialTheme class with specified color variation.

C#
public MaterialTheme(MaterialPalette.ColorVariation colorVariation)
Parameters:colorVariationMaterialPalette.ColorVariation

The color preset.