ClassCrystalPalette
Hold resources used in the CrystalTheme theme.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public sealed class CrystalPalette : ThemePalette
Inheritance: objectThemePaletteCrystalPalette
Fields
AccentBasicHighColorProperty
Identifies the AccentBasicHighColor dependency property.
Declaration
public static readonly DependencyProperty AccentBasicHighColorProperty
Field Value
DependencyProperty
AccentBasicLowColorProperty
Identifies the AccentBasicLowColor dependency property.
Declaration
public static readonly DependencyProperty AccentBasicLowColorProperty
Field Value
DependencyProperty
AccentFocusedColorProperty
Identifies the AccentFocusedColor dependency property.
Declaration
public static readonly DependencyProperty AccentFocusedColorProperty
Field Value
DependencyProperty
AccentHighColorProperty
Identifies the AccentHighColor dependency property.
Declaration
public static readonly DependencyProperty AccentHighColorProperty
Field Value
DependencyProperty
AccentLowColorProperty
Identifies the AccentLowColor dependency property.
Declaration
public static readonly DependencyProperty AccentLowColorProperty
Field Value
DependencyProperty
AccentMouseOverHighColorProperty
Identifies the AccentMouseOverHighColor dependency property.
Declaration
public static readonly DependencyProperty AccentMouseOverHighColorProperty
Field Value
DependencyProperty
AccentMouseOverLowColorProperty
Identifies the AccentMouseOverLowColor dependency property.
Declaration
public static readonly DependencyProperty AccentMouseOverLowColorProperty
Field Value
DependencyProperty
AccentPressedColorProperty
Identifies the AccentPressedColor dependency property.
Declaration
public static readonly DependencyProperty AccentPressedColorProperty
Field Value
DependencyProperty
AccentSelectedColorProperty
Identifies the AccentSelectedColor dependency property.
Declaration
public static readonly DependencyProperty AccentSelectedColorProperty
Field Value
DependencyProperty
AlternativeBasicColorProperty
Identifies the AlternativeBasicColor dependency property.
Declaration
public static readonly DependencyProperty AlternativeBasicColorProperty
Field Value
DependencyProperty
AlternativeColorProperty
Identifies the AlternativeColor dependency property.
Declaration
public static readonly DependencyProperty AlternativeColorProperty
Field Value
DependencyProperty
BasicHighColorProperty
Identifies the BasicHighColor dependency property.
Declaration
public static readonly DependencyProperty BasicHighColorProperty
Field Value
DependencyProperty
BasicLowColorProperty
Identifies the BasicLowColor dependency property.
Declaration
public static readonly DependencyProperty BasicLowColorProperty
Field Value
DependencyProperty
ComplementaryBasicHighColorProperty
Identifies the ComplementaryBasicHighColor dependency property.
Declaration
public static readonly DependencyProperty ComplementaryBasicHighColorProperty
Field Value
DependencyProperty
ComplementaryBasicLowColorProperty
Identifies the ComplementaryBasicLowColor dependency property.
Declaration
public static readonly DependencyProperty ComplementaryBasicLowColorProperty
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
DisabledOpacityProperty
Identifies the DisabledOpacity dependency property.
Declaration
public static readonly DependencyProperty DisabledOpacityProperty
Field Value
DependencyProperty
FocusThicknessProperty
Identifies the FocusThickness dependency property.
Declaration
public static readonly DependencyProperty FocusThicknessProperty
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
FontSizeXLProperty
Identifies the FontSizeXL dependency property.
Declaration
public static readonly DependencyProperty FontSizeXLProperty
Field Value
DependencyProperty
FontSizeXSProperty
Identifies the FontSizeXS dependency property.
Declaration
public static readonly DependencyProperty FontSizeXSProperty
Field Value
DependencyProperty
HeaderHighColorProperty
Identifies the HeaderHighColor dependency property.
Declaration
public static readonly DependencyProperty HeaderHighColorProperty
Field Value
DependencyProperty
HeaderLowColorProperty
Identifies the HeaderLowColor dependency property.
Declaration
public static readonly DependencyProperty HeaderLowColorProperty
Field Value
DependencyProperty
IconColorProperty
Identifies the IconColor dependency property.
Declaration
public static readonly DependencyProperty IconColorProperty
Field Value
DependencyProperty
InputOpacityProperty
Identifies the InputOpacity dependency property.
Declaration
public static readonly DependencyProperty InputOpacityProperty
Field Value
DependencyProperty
IsFreezableProperty
Identifies the IsFreezable DependencyProperty.
Declaration
public static readonly DependencyProperty IsFreezableProperty
Field Value
DependencyProperty
MainHighColorProperty
Identifies the MainHighColor dependency property.
Declaration
public static readonly DependencyProperty MainHighColorProperty
Field Value
DependencyProperty
MainLowColorProperty
Identifies the MainLowColor dependency property.
Declaration
public static readonly DependencyProperty MainLowColorProperty
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
MouseOverHighColorProperty
Identifies the MouseOverHighColor dependency property.
Declaration
public static readonly DependencyProperty MouseOverHighColorProperty
Field Value
DependencyProperty
MouseOverLowColorProperty
Identifies the MouseOverLowColor dependency property.
Declaration
public static readonly DependencyProperty MouseOverLowColorProperty
Field Value
DependencyProperty
PressedHighColorProperty
Identifies the PressedHighColor dependency property.
Declaration
public static readonly DependencyProperty PressedHighColorProperty
Field Value
DependencyProperty
PressedLowColorProperty
Identifies the PressedLowColor dependency property.
Declaration
public static readonly DependencyProperty PressedLowColorProperty
Field Value
DependencyProperty
PrimaryBackgroundColorProperty
Identifies the PrimaryBackgroundColor dependency property.
Declaration
public static readonly DependencyProperty PrimaryBackgroundColorProperty
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
ReadOnlyOpacityProperty
Identifies the ReadOnlyOpacity dependency property.
Declaration
public static readonly DependencyProperty ReadOnlyOpacityProperty
Field Value
DependencyProperty
ScrollBarsModeProperty
Identifies the ScrollBarsMode dependency property.
Declaration
public static readonly DependencyProperty ScrollBarsModeProperty
Field Value
DependencyProperty
ValidationColorProperty
Identifies the ValidationColor dependency property.
Declaration
public static readonly DependencyProperty ValidationColorProperty
Field Value
DependencyProperty
WindowButtonsAlignmentProperty
Identifies the WindowButtonsAlignment dependency property.
Declaration
public static readonly DependencyProperty WindowButtonsAlignmentProperty
Field Value
DependencyProperty
Properties
AccentBasicHighColor
Gets or sets the color of the CrystalTheme's accent basic and border elements.
Declaration
public Color AccentBasicHighColor { get; set; }
Property Value
Color
AccentBasicLowColor
Gets or sets the color of the CrystalTheme's accent basic and border elements.
Declaration
public Color AccentBasicLowColor { get; set; }
Property Value
Color
AccentFocusedColor
Gets or sets the color of the CrystalTheme's focus elements.
Declaration
public Color AccentFocusedColor { get; set; }
Property Value
Color
AccentHighColor
Gets or sets the color of the CrystalTheme's accent elements.
Declaration
public Color AccentHighColor { get; set; }
Property Value
Color
AccentLowColor
Gets or sets the color of the CrystalTheme's accent elements.
Declaration
public Color AccentLowColor { get; set; }
Property Value
Color
AccentMouseOverHighColor
Gets or sets the color of the CrystalTheme's mouse over accent elements.
Declaration
public Color AccentMouseOverHighColor { get; set; }
Property Value
Color
AccentMouseOverLowColor
Gets or sets the color of the CrystalTheme's mouse over accent elements.
Declaration
public Color AccentMouseOverLowColor { get; set; }
Property Value
Color
AccentPressedColor
Gets or sets the color of the CrystalTheme's pressed accent elements.
Declaration
public Color AccentPressedColor { get; set; }
Property Value
Color
AccentSelectedColor
Gets or sets the color of the CrystalTheme's focus elements.
Declaration
public Color AccentSelectedColor { get; set; }
Property Value
Color
AlternativeBasicColor
Gets or sets the color of the CrystalTheme's alternative basic and border elements.
Declaration
public Color AlternativeBasicColor { get; set; }
Property Value
Color
AlternativeColor
Gets or sets the color of the CrystalTheme's alternative elements.
Declaration
public Color AlternativeColor { get; set; }
Property Value
Color
BasicHighColor
Gets or sets the color of the CrystalTheme's basic and border elements.
Declaration
public Color BasicHighColor { get; set; }
Property Value
Color
BasicLowColor
Gets or sets the color of the CrystalTheme's basic and border elements.
Declaration
public Color BasicLowColor { get; set; }
Property Value
Color
ComplementaryBasicHighColor
Gets or sets the color of the CrystalTheme's complementary elements.
Declaration
public Color ComplementaryBasicHighColor { get; set; }
Property Value
Color
ComplementaryBasicLowColor
Gets or sets the color of the CrystalTheme's complementary elements.
Declaration
public Color ComplementaryBasicLowColor { get; set; }
Property Value
Color
ComplementaryColor
Gets or sets the color of the CrystalTheme'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
DisabledOpacity
Gets or sets the DisabledOpacity used in disabled states.
FocusThickness
Gets or sets the FocusThickness used in focused states.
Declaration
public Thickness FocusThickness { get; set; }
Property Value
Thickness
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.
FontSizeXL
Gets or sets the font size for extra large text.
FontSizeXS
Gets or sets the font size for extra small text.
HeaderHighColor
Gets or sets the color of the CrystalTheme's header elements.
Declaration
public Color HeaderHighColor { get; set; }
Property Value
Color
HeaderLowColor
Gets or sets the color of the CrystalTheme's header elements.
Declaration
public Color HeaderLowColor { get; set; }
Property Value
Color
IconColor
Gets or sets the color of the CrystalTheme's icons and icon-like elements.
Declaration
public Color IconColor { get; set; }
Property Value
Color
InputOpacity
Gets or sets the InputOpacity used in the default states of the input controls.
MainHighColor
Gets or sets the color of the CrystalTheme's main elements.
Declaration
public Color MainHighColor { get; set; }
Property Value
Color
MainLowColor
Gets or sets the color of the CrystalTheme's main elements.
Declaration
public Color MainLowColor { get; set; }
Property Value
Color
MarkerColor
Gets or sets the color of the CrystalTheme's marker and text elements.
Declaration
public Color MarkerColor { get; set; }
Property Value
Color
MarkerInvertedColor
Gets or sets the color of the CrystalTheme's inverted marker elements.
Declaration
public Color MarkerInvertedColor { get; set; }
Property Value
Color
MouseOverHighColor
Gets or sets the color of the CrystalTheme's main hovered elements.
Declaration
public Color MouseOverHighColor { get; set; }
Property Value
Color
MouseOverLowColor
Gets or sets the color of the CrystalTheme's main hovered elements.
Declaration
public Color MouseOverLowColor { get; set; }
Property Value
Color
Palette
Holds the Palette singleton instance.
Declaration
public static CrystalPalette Palette { get; }
Property Value
PressedHighColor
Gets or sets the color of the CrystalTheme's main pressed elements.
Declaration
public Color PressedHighColor { get; set; }
Property Value
Color
PressedLowColor
Gets or sets the color of the CrystalTheme's main pressed elements.
Declaration
public Color PressedLowColor { get; set; }
Property Value
Color
PrimaryBackgroundColor
Gets or sets the color of the CrystalTheme's primary background elements.
Declaration
public Color PrimaryBackgroundColor { get; set; }
Property Value
Color
ReadOnlyBackgroundColor
Gets or sets the color of the CrystalTheme's read only background elements.
Declaration
public Color ReadOnlyBackgroundColor { get; set; }
Property Value
Color
ReadOnlyBorderColor
Gets or sets the color of the CrystalTheme's read only border elements.
Declaration
public Color ReadOnlyBorderColor { get; set; }
Property Value
Color
ReadOnlyOpacity
Gets or sets the ReadOnlyOpacity used in readonly states.
ScrollBarsMode
Gets or sets the ScrollBarsMode used for the ScrollViewer's ScrollBars default appearance within the Crystal theme. The default value is Auto - the ScrollBars appear as a narrow sliver and expand to their normal size on MouseOver.
Declaration
public ScrollViewerScrollBarsMode ScrollBarsMode { get; set; }
Property Value
ValidationColor
Gets or sets the color of the CrystalTheme's validation elements.
Declaration
public Color ValidationColor { get; set; }
Property Value
Color
WindowButtonsAlignment
Gets or sets the WindowButtonsAlignment of the header buttons in windows and dialogs.
Declaration
public ButtonsAlignment WindowButtonsAlignment { get; set; }
Property Value
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(CrystalPalette.ColorVariation preset)
Parameters
preset
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.