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