ClassMaterialPalette
Hold resources used in the MaterialTheme theme.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public sealed class MaterialPalette : ThemePalette
Inheritance: objectThemePaletteMaterialPalette
Fields
AccentHoverColorProperty
Identifies the AccentHoverColor dependency property.
Declaration
public static readonly DependencyProperty AccentHoverColorProperty
Field Value
DependencyProperty
AccentNormalColorProperty
Identifies the AccentNormalColor dependency property.
Declaration
public static readonly DependencyProperty AccentNormalColorProperty
Field Value
DependencyProperty
AccentPressedColorProperty
Identifies the AccentPressedColor dependency property.
Declaration
public static readonly DependencyProperty AccentPressedColorProperty
Field Value
DependencyProperty
AlternativeColorProperty
Identifies the AlternativeColor dependency property.
Declaration
public static readonly DependencyProperty AlternativeColorProperty
Field Value
DependencyProperty
ComplementaryColorProperty
Identifies the ComplementaryColor dependency property.
Declaration
public static readonly DependencyProperty ComplementaryColorProperty
Field Value
DependencyProperty
CornerRadiusBottomProperty
Identifies the CornerRadiusBottom dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusBottomProperty
Field Value
DependencyProperty
CornerRadiusLeftProperty
Identifies the CornerRadiusLeft dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusLeftProperty
Field Value
DependencyProperty
CornerRadiusProperty
Identifies the CornerRadius dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
DependencyProperty
CornerRadiusRightProperty
Identifies the CornerRadiusRight dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusRightProperty
Field Value
DependencyProperty
CornerRadiusTopProperty
Identifies the CornerRadiusTop dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusTopProperty
Field Value
DependencyProperty
DialogBackgroundColorProperty
Identifies the DialogBackgroundColor dependency property.
Declaration
public static readonly DependencyProperty DialogBackgroundColorProperty
Field Value
DependencyProperty
DisabledOpacityProperty
Identifies the DisabledOpacity dependency property.
Declaration
public static readonly DependencyProperty DisabledOpacityProperty
Field Value
DependencyProperty
DividerColorProperty
Identifies the DividerColor dependency property.
Declaration
public static readonly DependencyProperty DividerColorProperty
Field Value
DependencyProperty
DividerOpacityProperty
Identifies the DividerOpacity dependency property.
Declaration
public static readonly DependencyProperty DividerOpacityProperty
Field Value
DependencyProperty
DividerSolidColorProperty
Identifies the DividerSolidColor dependency property.
Declaration
public static readonly DependencyProperty DividerSolidColorProperty
Field Value
DependencyProperty
FontFamilyProperty
Identifies the FontFamily dependency property.
Declaration
public static readonly DependencyProperty FontFamilyProperty
Field Value
DependencyProperty
FontSizeLProperty
Identifies the FontSizeL dependency property.
Declaration
public static readonly DependencyProperty FontSizeLProperty
Field Value
DependencyProperty
FontSizeProperty
Identifies the FontSize dependency property.
Declaration
public static readonly DependencyProperty FontSizeProperty
Field Value
DependencyProperty
FontSizeSProperty
Identifies the FontSizeS dependency property.
Declaration
public static readonly DependencyProperty FontSizeSProperty
Field Value
DependencyProperty
IconColorProperty
Identifies the IconColor dependency property.
Declaration
public static readonly DependencyProperty IconColorProperty
Field Value
DependencyProperty
IsFreezableProperty
Identifies the IsFreezable DependencyProperty.
Declaration
public static readonly DependencyProperty IsFreezableProperty
Field Value
DependencyProperty
MainColorProperty
Identifies the MainColor dependency property.
Declaration
public static readonly DependencyProperty MainColorProperty
Field Value
DependencyProperty
MarkerColorProperty
Identifies the MarkerColor dependency property.
Declaration
public static readonly DependencyProperty MarkerColorProperty
Field Value
DependencyProperty
MarkerInvertedColorProperty
Identifies the MarkerInvertedColor dependency property.
Declaration
public static readonly DependencyProperty MarkerInvertedColorProperty
Field Value
DependencyProperty
PrimaryColorProperty
Identifies the PrimaryColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryColorProperty
Field Value
DependencyProperty
PrimaryFocusColorProperty
Identifies the PrimaryFocusColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryFocusColorProperty
Field Value
DependencyProperty
PrimaryHoverColorProperty
Identifies the PrimaryHoverColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryHoverColorProperty
Field Value
DependencyProperty
PrimaryNormalColorProperty
Identifies the PrimaryNormalColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryNormalColorProperty
Field Value
DependencyProperty
PrimaryOpacityProperty
Identifies the PrimaryOpacity dependency property.
Declaration
public static readonly DependencyProperty PrimaryOpacityProperty
Field Value
DependencyProperty
PrimaryPressedColorProperty
Identifies the PrimaryPressedColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryPressedColorProperty
Field Value
DependencyProperty
ReadOnlyBackgroundColorProperty
Identifies the ReadOnlyBackgroundColor dependency property.
Declaration
public static readonly DependencyProperty ReadOnlyBackgroundColorProperty
Field Value
DependencyProperty
ReadOnlyBorderColorProperty
Identifies the ReadOnlyBorderColor dependency property.
Declaration
public static readonly DependencyProperty ReadOnlyBorderColorProperty
Field Value
DependencyProperty
RippleColorProperty
Identifies the RippleColor dependency property.
Declaration
public static readonly DependencyProperty RippleColorProperty
Field Value
DependencyProperty
SecondaryOpacityProperty
Identifies the SecondaryOpacity dependency property.
Declaration
public static readonly DependencyProperty SecondaryOpacityProperty
Field Value
DependencyProperty
SelectedUnfocusedColorProperty
Identifies the SelectedUnfocusedColor dependency property.
Declaration
public static readonly DependencyProperty SelectedUnfocusedColorProperty
Field Value
DependencyProperty
ValidationColorProperty
Identifies the ValidationColor dependency property.
Declaration
public static readonly DependencyProperty ValidationColorProperty
Field Value
DependencyProperty
Properties
AccentHoverColor
Gets or sets the color of the MaterialTheme's mouse over accent elements.
Declaration
public Color AccentHoverColor { get; set; }
Property Value
Color
AccentNormalColor
Gets or sets the color of the MaterialTheme's accent elements.
Declaration
public Color AccentNormalColor { get; set; }
Property Value
Color
AccentPressedColor
Gets or sets the color of the MaterialTheme's pressed accent elements.
Declaration
public Color AccentPressedColor { get; set; }
Property Value
Color
AlternativeColor
Gets or sets the color of the MaterialTheme's alternative elements.
Declaration
public Color AlternativeColor { get; set; }
Property Value
Color
ComplementaryColor
Gets or sets the color of the MaterialTheme's complementary elements.
Declaration
public Color ComplementaryColor { get; set; }
Property Value
Color
CornerRadius
Gets or sets the CornerRadius used in borders.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
CornerRadius
CornerRadiusBottom
Gets or sets the CornerRadiusBottom used in borders.
Declaration
public CornerRadius CornerRadiusBottom { get; set; }
Property Value
CornerRadius
CornerRadiusLeft
Gets or sets the CornerRadiusLeft used in borders.
Declaration
public CornerRadius CornerRadiusLeft { get; set; }
Property Value
CornerRadius
CornerRadiusRight
Gets or sets the CornerRadiusRight used in borders.
Declaration
public CornerRadius CornerRadiusRight { get; set; }
Property Value
CornerRadius
CornerRadiusTop
Gets or sets the CornerRadiusTop used in borders.
Declaration
public CornerRadius CornerRadiusTop { get; set; }
Property Value
CornerRadius
DialogBackgroundColor
Gets or sets the background color of the MaterialTheme's dialog and window elements.
Declaration
public Color DialogBackgroundColor { get; set; }
Property Value
Color
DisabledOpacity
Gets or sets the DisabledOpacity used in disabled states.
DividerColor
Gets or sets the color of the MaterialTheme's Divider transparent elements.
Declaration
public Color DividerColor { get; set; }
Property Value
Color
DividerOpacity
Gets or sets the DividerOpacity used in disabled states.
DividerSolidColor
Gets or sets the color of the MaterialTheme's Divider solid elements.
Declaration
public Color DividerSolidColor { get; set; }
Property Value
Color
FontFamily
Gets or sets the FontFamily used in normal texts.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
FontFamily
FontSize
Gets or sets the font size for normal text.
FontSizeL
Gets or sets the font size for large text.
FontSizeS
Gets or sets the font size for small text.
IconColor
Gets or sets the color of the MaterialTheme's Icon elements.
Declaration
public Color IconColor { get; set; }
Property Value
Color
MainColor
Gets or sets the color of the MaterialTheme's main elements.
Declaration
public Color MainColor { get; set; }
Property Value
Color
MarkerColor
Gets or sets the color of the MaterialTheme's marker elements.
Declaration
public Color MarkerColor { get; set; }
Property Value
Color
MarkerInvertedColor
Gets or sets the color of the MaterialTheme's inverted marker elements.
Declaration
public Color MarkerInvertedColor { get; set; }
Property Value
Color
Palette
Holds the Palette singleton instance.
Declaration
public static MaterialPalette Palette { get; }
Property Value
PrimaryColor
Gets or sets the color of the MaterialTheme's primary background elements.
Declaration
public Color PrimaryColor { get; set; }
Property Value
Color
PrimaryFocusColor
Gets or sets the color of the MaterialTheme's focused primary elements.
Declaration
public Color PrimaryFocusColor { get; set; }
Property Value
Color
PrimaryHoverColor
Gets or sets the color of the MaterialTheme's mouse over primary elements.
Declaration
public Color PrimaryHoverColor { get; set; }
Property Value
Color
PrimaryNormalColor
Gets or sets the color of the MaterialTheme's mouse over normal elements.
Declaration
public Color PrimaryNormalColor { get; set; }
Property Value
Color
PrimaryOpacity
Gets or sets the PrimaryOpacity used in disabled states.
PrimaryPressedColor
Gets or sets the color of the MaterialTheme's pressed primary elements.
Declaration
public Color PrimaryPressedColor { get; set; }
Property Value
Color
ReadOnlyBackgroundColor
Gets or sets the color of the MaterialTheme's read only background elements.
Declaration
public Color ReadOnlyBackgroundColor { get; set; }
Property Value
Color
ReadOnlyBorderColor
Gets or sets the color of the MaterialTheme's read only border elements.
Declaration
public Color ReadOnlyBorderColor { get; set; }
Property Value
Color
RippleColor
Gets or sets the color of the MaterialTheme's MaterialControl ripple element.
Declaration
public Color RippleColor { get; set; }
Property Value
Color
SecondaryOpacity
Gets or sets the SecondaryOpacity used in disabled states.
SelectedUnfocusedColor
Gets or sets the color of the MaterialTheme's selected and unfocused elements.
Declaration
public Color SelectedUnfocusedColor { get; set; }
Property Value
Color
ValidationColor
Gets or sets the color of the MaterialTheme's validation elements.
Declaration
public Color ValidationColor { get; set; }
Property Value
Color
Methods
GetIsFreezable(DependencyObject)
Gets the IsFreezable value from a DependencyObject.
Declaration
public static bool GetIsFreezable(DependencyObject dependencyObject)
Parameters
dependencyObject
DependencyObject
The dependencyObject.
Returns
The IsFreezable value.
LoadPreset(ColorVariation)
Loads a preset.
Declaration
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
public static void SetIsFreezable(DependencyObject dependencyObject, bool value)
Parameters
dependencyObject
DependencyObject
The dependencyObject.
value
The IsFreezable value.