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

Hold resources used in the MaterialTheme theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class MaterialPalette : ThemePalette

Inheritance: objectThemePaletteMaterialPalette

Fields

AccentHoverColorProperty

DependencyProperty

Identifies the AccentHoverColor dependency property.

C#
public static readonly DependencyProperty AccentHoverColorProperty

AccentNormalColorProperty

DependencyProperty

Identifies the AccentNormalColor dependency property.

C#
public static readonly DependencyProperty AccentNormalColorProperty

AccentPressedColorProperty

DependencyProperty

Identifies the AccentPressedColor dependency property.

C#
public static readonly DependencyProperty AccentPressedColorProperty

AlternativeColorProperty

DependencyProperty

Identifies the AlternativeColor dependency property.

C#
public static readonly DependencyProperty AlternativeColorProperty

ComplementaryColorProperty

DependencyProperty

Identifies the ComplementaryColor dependency property.

C#
public static readonly DependencyProperty ComplementaryColorProperty

CornerRadiusBottomProperty

DependencyProperty

Identifies the CornerRadiusBottom dependency property.

C#
public static readonly DependencyProperty CornerRadiusBottomProperty

CornerRadiusLeftProperty

DependencyProperty

Identifies the CornerRadiusLeft dependency property.

C#
public static readonly DependencyProperty CornerRadiusLeftProperty

CornerRadiusProperty

DependencyProperty

Identifies the CornerRadius dependency property.

C#
public static readonly DependencyProperty CornerRadiusProperty

CornerRadiusRightProperty

DependencyProperty

Identifies the CornerRadiusRight dependency property.

C#
public static readonly DependencyProperty CornerRadiusRightProperty

CornerRadiusTopProperty

DependencyProperty

Identifies the CornerRadiusTop dependency property.

C#
public static readonly DependencyProperty CornerRadiusTopProperty

Identifies the DialogBackgroundColor dependency property.

C#
public static readonly DependencyProperty DialogBackgroundColorProperty

DisabledOpacityProperty

DependencyProperty

Identifies the DisabledOpacity dependency property.

C#
public static readonly DependencyProperty DisabledOpacityProperty

DividerColorProperty

DependencyProperty

Identifies the DividerColor dependency property.

C#
public static readonly DependencyProperty DividerColorProperty

DividerOpacityProperty

DependencyProperty

Identifies the DividerOpacity dependency property.

C#
public static readonly DependencyProperty DividerOpacityProperty

DividerSolidColorProperty

DependencyProperty

Identifies the DividerSolidColor dependency property.

C#
public static readonly DependencyProperty DividerSolidColorProperty

FontFamilyProperty

DependencyProperty

Identifies the FontFamily dependency property.

C#
public static readonly DependencyProperty FontFamilyProperty

FontSizeLProperty

DependencyProperty

Identifies the FontSizeL dependency property.

C#
public static readonly DependencyProperty FontSizeLProperty

FontSizeProperty

DependencyProperty

Identifies the FontSize dependency property.

C#
public static readonly DependencyProperty FontSizeProperty

FontSizeSProperty

DependencyProperty

Identifies the FontSizeS dependency property.

C#
public static readonly DependencyProperty FontSizeSProperty

IconColorProperty

DependencyProperty

Identifies the IconColor dependency property.

C#
public static readonly DependencyProperty IconColorProperty

IsFreezableProperty

DependencyProperty

Identifies the IsFreezable DependencyProperty.

C#
public static readonly DependencyProperty IsFreezableProperty

MainColorProperty

DependencyProperty

Identifies the MainColor dependency property.

C#
public static readonly DependencyProperty MainColorProperty

MarkerColorProperty

DependencyProperty

Identifies the MarkerColor dependency property.

C#
public static readonly DependencyProperty MarkerColorProperty

MarkerInvertedColorProperty

DependencyProperty

Identifies the MarkerInvertedColor dependency property.

C#
public static readonly DependencyProperty MarkerInvertedColorProperty

PrimaryColorProperty

DependencyProperty

Identifies the PrimaryColor dependency property.

C#
public static readonly DependencyProperty PrimaryColorProperty

PrimaryFocusColorProperty

DependencyProperty

Identifies the PrimaryFocusColor dependency property.

C#
public static readonly DependencyProperty PrimaryFocusColorProperty

PrimaryHoverColorProperty

DependencyProperty

Identifies the PrimaryHoverColor dependency property.

C#
public static readonly DependencyProperty PrimaryHoverColorProperty

PrimaryNormalColorProperty

DependencyProperty

Identifies the PrimaryNormalColor dependency property.

C#
public static readonly DependencyProperty PrimaryNormalColorProperty

PrimaryOpacityProperty

DependencyProperty

Identifies the PrimaryOpacity dependency property.

C#
public static readonly DependencyProperty PrimaryOpacityProperty

PrimaryPressedColorProperty

DependencyProperty

Identifies the PrimaryPressedColor dependency property.

C#
public static readonly DependencyProperty PrimaryPressedColorProperty

Identifies the ReadOnlyBackgroundColor dependency property.

C#
public static readonly DependencyProperty ReadOnlyBackgroundColorProperty

ReadOnlyBorderColorProperty

DependencyProperty

Identifies the ReadOnlyBorderColor dependency property.

C#
public static readonly DependencyProperty ReadOnlyBorderColorProperty

RippleColorProperty

DependencyProperty

Identifies the RippleColor dependency property.

C#
public static readonly DependencyProperty RippleColorProperty

SecondaryOpacityProperty

DependencyProperty

Identifies the SecondaryOpacity dependency property.

C#
public static readonly DependencyProperty SecondaryOpacityProperty

Identifies the SelectedUnfocusedColor dependency property.

C#
public static readonly DependencyProperty SelectedUnfocusedColorProperty

ValidationColorProperty

DependencyProperty

Identifies the ValidationColor dependency property.

C#
public static readonly DependencyProperty ValidationColorProperty

Properties

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

C#
public Color AccentHoverColor { get; set; }

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

C#
public Color AccentNormalColor { get; set; }

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

C#
public Color AccentPressedColor { get; set; }

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

C#
public Color AlternativeColor { get; set; }

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

C#
public Color ComplementaryColor { get; set; }

CornerRadius

CornerRadius

Gets or sets the CornerRadius used in borders.

C#
public CornerRadius CornerRadius { get; set; }

CornerRadiusBottom

CornerRadius

Gets or sets the CornerRadiusBottom used in borders.

C#
public CornerRadius CornerRadiusBottom { get; set; }

CornerRadiusLeft

CornerRadius

Gets or sets the CornerRadiusLeft used in borders.

C#
public CornerRadius CornerRadiusLeft { get; set; }

CornerRadiusRight

CornerRadius

Gets or sets the CornerRadiusRight used in borders.

C#
public CornerRadius CornerRadiusRight { get; set; }

CornerRadiusTop

CornerRadius

Gets or sets the CornerRadiusTop used in borders.

C#
public CornerRadius CornerRadiusTop { get; set; }

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

C#
public Color DialogBackgroundColor { get; set; }

Gets or sets the DisabledOpacity used in disabled states.

C#
public double DisabledOpacity { get; set; }

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

C#
public Color DividerColor { get; set; }

Gets or sets the DividerOpacity used in disabled states.

C#
public double DividerOpacity { get; set; }

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

C#
public Color DividerSolidColor { get; set; }

FontFamily

FontFamily

Gets or sets the FontFamily used in normal texts.

C#
public FontFamily FontFamily { get; set; }

Gets or sets the font size for normal text.

C#
public double FontSize { get; set; }

Gets or sets the font size for large text.

C#
public double FontSizeL { get; set; }

Gets or sets the font size for small text.

C#
public double FontSizeS { get; set; }

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

C#
public Color IconColor { get; set; }

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

C#
public Color MainColor { get; set; }

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

C#
public Color MarkerColor { get; set; }

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

C#
public Color MarkerInvertedColor { get; set; }

Holds the Palette singleton instance.

C#
public static MaterialPalette Palette { get; }

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

C#
public Color PrimaryColor { get; set; }

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

C#
public Color PrimaryFocusColor { get; set; }

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

C#
public Color PrimaryHoverColor { get; set; }

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

C#
public Color PrimaryNormalColor { get; set; }

Gets or sets the PrimaryOpacity used in disabled states.

C#
public double PrimaryOpacity { get; set; }

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

C#
public Color PrimaryPressedColor { get; set; }

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

C#
public Color ReadOnlyBackgroundColor { get; set; }

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

C#
public Color ReadOnlyBorderColor { get; set; }

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

C#
public Color RippleColor { get; set; }

Gets or sets the SecondaryOpacity used in disabled states.

C#
public double SecondaryOpacity { get; set; }

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

C#
public Color SelectedUnfocusedColor { get; set; }

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

C#
public Color ValidationColor { get; set; }

Methods

Gets the IsFreezable value from a DependencyObject.

C#
public static bool GetIsFreezable(DependencyObject dependencyObject)
Parameters:dependencyObjectDependencyObject

The dependencyObject.

Returns:

bool

The IsFreezable value.

Loads a preset.

C#
public static void LoadPreset(MaterialPalette.ColorVariation preset)
Parameters:presetMaterialPalette.ColorVariation

The color preset.

Sets the IsFreezable value from a DependencyObject.

C#
public static void SetIsFreezable(DependencyObject dependencyObject, bool value)
Parameters:dependencyObjectDependencyObject

The dependencyObject.

valuebool

The IsFreezable value.

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