Class
MaterialPalette

Hold resources used in the MaterialTheme theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public sealed class MaterialPalette : ThemePalette

Inheritance: objectThemePaletteMaterialPalette

Fields

AccentHoverColorProperty

Identifies the AccentHoverColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentHoverColorProperty

Field Value

DependencyProperty

AccentNormalColorProperty

Identifies the AccentNormalColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentNormalColorProperty

Field Value

DependencyProperty

AccentPressedColorProperty

Identifies the AccentPressedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentPressedColorProperty

Field Value

DependencyProperty

AlternativeColorProperty

Identifies the AlternativeColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AlternativeColorProperty

Field Value

DependencyProperty

ComplementaryColorProperty

Identifies the ComplementaryColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ComplementaryColorProperty

Field Value

DependencyProperty

CornerRadiusBottomProperty

Identifies the CornerRadiusBottom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusBottomProperty

Field Value

DependencyProperty

CornerRadiusLeftProperty

Identifies the CornerRadiusLeft dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusLeftProperty

Field Value

DependencyProperty

CornerRadiusProperty

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

CornerRadiusRightProperty

Identifies the CornerRadiusRight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusRightProperty

Field Value

DependencyProperty

CornerRadiusTopProperty

Identifies the CornerRadiusTop dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusTopProperty

Field Value

DependencyProperty

DialogBackgroundColorProperty

Identifies the DialogBackgroundColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DialogBackgroundColorProperty

Field Value

DependencyProperty

DisabledOpacityProperty

Identifies the DisabledOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisabledOpacityProperty

Field Value

DependencyProperty

DividerColorProperty

Identifies the DividerColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DividerColorProperty

Field Value

DependencyProperty

DividerOpacityProperty

Identifies the DividerOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DividerOpacityProperty

Field Value

DependencyProperty

DividerSolidColorProperty

Identifies the DividerSolidColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DividerSolidColorProperty

Field Value

DependencyProperty

FontFamilyProperty

Identifies the FontFamily dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontFamilyProperty

Field Value

DependencyProperty

FontSizeLProperty

Identifies the FontSizeL dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeLProperty

Field Value

DependencyProperty

FontSizeProperty

Identifies the FontSize dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeProperty

Field Value

DependencyProperty

FontSizeSProperty

Identifies the FontSizeS dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeSProperty

Field Value

DependencyProperty

IconColorProperty

Identifies the IconColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconColorProperty

Field Value

DependencyProperty

IsFreezableProperty

Identifies the IsFreezable DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsFreezableProperty

Field Value

DependencyProperty

MainColorProperty

Identifies the MainColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MainColorProperty

Field Value

DependencyProperty

MarkerColorProperty

Identifies the MarkerColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarkerColorProperty

Field Value

DependencyProperty

MarkerInvertedColorProperty

Identifies the MarkerInvertedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarkerInvertedColorProperty

Field Value

DependencyProperty

PrimaryColorProperty

Identifies the PrimaryColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryColorProperty

Field Value

DependencyProperty

PrimaryFocusColorProperty

Identifies the PrimaryFocusColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryFocusColorProperty

Field Value

DependencyProperty

PrimaryHoverColorProperty

Identifies the PrimaryHoverColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryHoverColorProperty

Field Value

DependencyProperty

PrimaryNormalColorProperty

Identifies the PrimaryNormalColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryNormalColorProperty

Field Value

DependencyProperty

PrimaryOpacityProperty

Identifies the PrimaryOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryOpacityProperty

Field Value

DependencyProperty

PrimaryPressedColorProperty

Identifies the PrimaryPressedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryPressedColorProperty

Field Value

DependencyProperty

ReadOnlyBackgroundColorProperty

Identifies the ReadOnlyBackgroundColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyBackgroundColorProperty

Field Value

DependencyProperty

ReadOnlyBorderColorProperty

Identifies the ReadOnlyBorderColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyBorderColorProperty

Field Value

DependencyProperty

RippleColorProperty

Identifies the RippleColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RippleColorProperty

Field Value

DependencyProperty

SecondaryOpacityProperty

Identifies the SecondaryOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SecondaryOpacityProperty

Field Value

DependencyProperty

SelectedUnfocusedColorProperty

Identifies the SelectedUnfocusedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedUnfocusedColorProperty

Field Value

DependencyProperty

ValidationColorProperty

Identifies the ValidationColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValidationColorProperty

Field Value

DependencyProperty

Properties

AccentHoverColor

Gets or sets the color of the MaterialTheme's mouse over accent elements.

Declaration

cs-api-definition
public Color AccentHoverColor { get; set; }

Property Value

Color

AccentNormalColor

Gets or sets the color of the MaterialTheme's accent elements.

Declaration

cs-api-definition
public Color AccentNormalColor { get; set; }

Property Value

Color

AccentPressedColor

Gets or sets the color of the MaterialTheme's pressed accent elements.

Declaration

cs-api-definition
public Color AccentPressedColor { get; set; }

Property Value

Color

AlternativeColor

Gets or sets the color of the MaterialTheme's alternative elements.

Declaration

cs-api-definition
public Color AlternativeColor { get; set; }

Property Value

Color

ComplementaryColor

Gets or sets the color of the MaterialTheme's complementary elements.

Declaration

cs-api-definition
public Color ComplementaryColor { get; set; }

Property Value

Color

CornerRadius

Gets or sets the CornerRadius used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

CornerRadiusBottom

Gets or sets the CornerRadiusBottom used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusBottom { get; set; }

Property Value

CornerRadius

CornerRadiusLeft

Gets or sets the CornerRadiusLeft used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusLeft { get; set; }

Property Value

CornerRadius

CornerRadiusRight

Gets or sets the CornerRadiusRight used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusRight { get; set; }

Property Value

CornerRadius

CornerRadiusTop

Gets or sets the CornerRadiusTop used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusTop { get; set; }

Property Value

CornerRadius

DialogBackgroundColor

Gets or sets the background color of the MaterialTheme's dialog and window elements.

Declaration

cs-api-definition
public Color DialogBackgroundColor { get; set; }

Property Value

Color

DisabledOpacity

Gets or sets the DisabledOpacity used in disabled states.

Declaration

cs-api-definition
public double DisabledOpacity { get; set; }

Property Value

double

DividerColor

Gets or sets the color of the MaterialTheme's Divider transparent elements.

Declaration

cs-api-definition
public Color DividerColor { get; set; }

Property Value

Color

DividerOpacity

Gets or sets the DividerOpacity used in disabled states.

Declaration

cs-api-definition
public double DividerOpacity { get; set; }

Property Value

double

DividerSolidColor

Gets or sets the color of the MaterialTheme's Divider solid elements.

Declaration

cs-api-definition
public Color DividerSolidColor { get; set; }

Property Value

Color

FontFamily

Gets or sets the FontFamily used in normal texts.

Declaration

cs-api-definition
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

FontSize

Gets or sets the font size for normal text.

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

FontSizeL

Gets or sets the font size for large text.

Declaration

cs-api-definition
public double FontSizeL { get; set; }

Property Value

double

FontSizeS

Gets or sets the font size for small text.

Declaration

cs-api-definition
public double FontSizeS { get; set; }

Property Value

double

IconColor

Gets or sets the color of the MaterialTheme's Icon elements.

Declaration

cs-api-definition
public Color IconColor { get; set; }

Property Value

Color

MainColor

Gets or sets the color of the MaterialTheme's main elements.

Declaration

cs-api-definition
public Color MainColor { get; set; }

Property Value

Color

MarkerColor

Gets or sets the color of the MaterialTheme's marker elements.

Declaration

cs-api-definition
public Color MarkerColor { get; set; }

Property Value

Color

MarkerInvertedColor

Gets or sets the color of the MaterialTheme's inverted marker elements.

Declaration

cs-api-definition
public Color MarkerInvertedColor { get; set; }

Property Value

Color

Palette

Holds the Palette singleton instance.

Declaration

cs-api-definition
public static MaterialPalette Palette { get; }

Property Value

MaterialPalette

PrimaryColor

Gets or sets the color of the MaterialTheme's primary background elements.

Declaration

cs-api-definition
public Color PrimaryColor { get; set; }

Property Value

Color

PrimaryFocusColor

Gets or sets the color of the MaterialTheme's focused primary elements.

Declaration

cs-api-definition
public Color PrimaryFocusColor { get; set; }

Property Value

Color

PrimaryHoverColor

Gets or sets the color of the MaterialTheme's mouse over primary elements.

Declaration

cs-api-definition
public Color PrimaryHoverColor { get; set; }

Property Value

Color

PrimaryNormalColor

Gets or sets the color of the MaterialTheme's mouse over normal elements.

Declaration

cs-api-definition
public Color PrimaryNormalColor { get; set; }

Property Value

Color

PrimaryOpacity

Gets or sets the PrimaryOpacity used in disabled states.

Declaration

cs-api-definition
public double PrimaryOpacity { get; set; }

Property Value

double

PrimaryPressedColor

Gets or sets the color of the MaterialTheme's pressed primary elements.

Declaration

cs-api-definition
public Color PrimaryPressedColor { get; set; }

Property Value

Color

ReadOnlyBackgroundColor

Gets or sets the color of the MaterialTheme's read only background elements.

Declaration

cs-api-definition
public Color ReadOnlyBackgroundColor { get; set; }

Property Value

Color

ReadOnlyBorderColor

Gets or sets the color of the MaterialTheme's read only border elements.

Declaration

cs-api-definition
public Color ReadOnlyBorderColor { get; set; }

Property Value

Color

RippleColor

Gets or sets the color of the MaterialTheme's MaterialControl ripple element.

Declaration

cs-api-definition
public Color RippleColor { get; set; }

Property Value

Color

SecondaryOpacity

Gets or sets the SecondaryOpacity used in disabled states.

Declaration

cs-api-definition
public double SecondaryOpacity { get; set; }

Property Value

double

SelectedUnfocusedColor

Gets or sets the color of the MaterialTheme's selected and unfocused elements.

Declaration

cs-api-definition
public Color SelectedUnfocusedColor { get; set; }

Property Value

Color

ValidationColor

Gets or sets the color of the MaterialTheme's validation elements.

Declaration

cs-api-definition
public Color ValidationColor { get; set; }

Property Value

Color

Methods

GetIsFreezable(DependencyObject)

Gets the IsFreezable value from a DependencyObject.

Declaration

cs-api-definition
public static bool GetIsFreezable(DependencyObject dependencyObject)

Parameters

dependencyObject

DependencyObject

The dependencyObject.

Returns

bool

The IsFreezable value.

LoadPreset(ColorVariation)

Loads a preset.

Declaration

cs-api-definition
public static void LoadPreset(MaterialPalette.ColorVariation preset)

Parameters

preset

MaterialPalette.ColorVariation

The color preset.

SetIsFreezable(DependencyObject, bool)

Sets the IsFreezable value from a DependencyObject.

Declaration

cs-api-definition
public static void SetIsFreezable(DependencyObject dependencyObject, bool value)

Parameters

dependencyObject

DependencyObject

The dependencyObject.

value

bool

The IsFreezable value.

In this article
DefinitionFieldsAccentHoverColorPropertyAccentNormalColorPropertyAccentPressedColorPropertyAlternativeColorPropertyComplementaryColorPropertyCornerRadiusBottomPropertyCornerRadiusLeftPropertyCornerRadiusPropertyCornerRadiusRightPropertyCornerRadiusTopPropertyDialogBackgroundColorPropertyDisabledOpacityPropertyDividerColorPropertyDividerOpacityPropertyDividerSolidColorPropertyFontFamilyPropertyFontSizeLPropertyFontSizePropertyFontSizeSPropertyIconColorPropertyIsFreezablePropertyMainColorPropertyMarkerColorPropertyMarkerInvertedColorPropertyPrimaryColorPropertyPrimaryFocusColorPropertyPrimaryHoverColorPropertyPrimaryNormalColorPropertyPrimaryOpacityPropertyPrimaryPressedColorPropertyReadOnlyBackgroundColorPropertyReadOnlyBorderColorPropertyRippleColorPropertySecondaryOpacityPropertySelectedUnfocusedColorPropertyValidationColorPropertyPropertiesAccentHoverColorAccentNormalColorAccentPressedColorAlternativeColorComplementaryColorCornerRadiusCornerRadiusBottomCornerRadiusLeftCornerRadiusRightCornerRadiusTopDialogBackgroundColorDisabledOpacityDividerColorDividerOpacityDividerSolidColorFontFamilyFontSizeFontSizeLFontSizeSIconColorMainColorMarkerColorMarkerInvertedColorPalettePrimaryColorPrimaryFocusColorPrimaryHoverColorPrimaryNormalColorPrimaryOpacityPrimaryPressedColorReadOnlyBackgroundColorReadOnlyBorderColorRippleColorSecondaryOpacitySelectedUnfocusedColorValidationColorMethodsGetIsFreezable(DependencyObject)LoadPreset(ColorVariation)SetIsFreezable(DependencyObject, bool)
Not finding the help you need?
Contact Support