CrystalPalette
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
DependencyProperty
Identifies the AccentBasicHighColor dependency property.
public static readonly DependencyProperty AccentBasicHighColorProperty
AccentBasicLowColorProperty
DependencyProperty
Identifies the AccentBasicLowColor dependency property.
public static readonly DependencyProperty AccentBasicLowColorProperty
AccentFocusedColorProperty
DependencyProperty
Identifies the AccentFocusedColor dependency property.
public static readonly DependencyProperty AccentFocusedColorProperty
AccentHighColorProperty
DependencyProperty
Identifies the AccentHighColor dependency property.
public static readonly DependencyProperty AccentHighColorProperty
AccentLowColorProperty
DependencyProperty
Identifies the AccentLowColor dependency property.
public static readonly DependencyProperty AccentLowColorProperty
AccentMouseOverHighColorProperty
DependencyProperty
Identifies the AccentMouseOverHighColor dependency property.
public static readonly DependencyProperty AccentMouseOverHighColorProperty
AccentMouseOverLowColorProperty
DependencyProperty
Identifies the AccentMouseOverLowColor dependency property.
public static readonly DependencyProperty AccentMouseOverLowColorProperty
AccentPressedColorProperty
DependencyProperty
Identifies the AccentPressedColor dependency property.
public static readonly DependencyProperty AccentPressedColorProperty
AccentSelectedColorProperty
DependencyProperty
Identifies the AccentSelectedColor dependency property.
public static readonly DependencyProperty AccentSelectedColorProperty
AlternativeBasicColorProperty
DependencyProperty
Identifies the AlternativeBasicColor dependency property.
public static readonly DependencyProperty AlternativeBasicColorProperty
AlternativeColorProperty
DependencyProperty
Identifies the AlternativeColor dependency property.
public static readonly DependencyProperty AlternativeColorProperty
BasicHighColorProperty
DependencyProperty
Identifies the BasicHighColor dependency property.
public static readonly DependencyProperty BasicHighColorProperty
BasicLowColorProperty
DependencyProperty
Identifies the BasicLowColor dependency property.
public static readonly DependencyProperty BasicLowColorProperty
ComplementaryBasicHighColorProperty
DependencyProperty
Identifies the ComplementaryBasicHighColor dependency property.
public static readonly DependencyProperty ComplementaryBasicHighColorProperty
ComplementaryBasicLowColorProperty
DependencyProperty
Identifies the ComplementaryBasicLowColor dependency property.
public static readonly DependencyProperty ComplementaryBasicLowColorProperty
ComplementaryColorProperty
DependencyProperty
Identifies the ComplementaryColor dependency property.
public static readonly DependencyProperty ComplementaryColorProperty
CornerRadiusBottomProperty
DependencyProperty
Identifies the CornerRadiusBottom dependency property.
public static readonly DependencyProperty CornerRadiusBottomProperty
CornerRadiusLeftProperty
DependencyProperty
Identifies the CornerRadiusLeft dependency property.
public static readonly DependencyProperty CornerRadiusLeftProperty
CornerRadiusProperty
DependencyProperty
Identifies the CornerRadius dependency property.
public static readonly DependencyProperty CornerRadiusProperty
CornerRadiusRightProperty
DependencyProperty
Identifies the CornerRadiusRight dependency property.
public static readonly DependencyProperty CornerRadiusRightProperty
CornerRadiusTopProperty
DependencyProperty
Identifies the CornerRadiusTop dependency property.
public static readonly DependencyProperty CornerRadiusTopProperty
DisabledOpacityProperty
DependencyProperty
Identifies the DisabledOpacity dependency property.
public static readonly DependencyProperty DisabledOpacityProperty
FocusThicknessProperty
DependencyProperty
Identifies the FocusThickness dependency property.
public static readonly DependencyProperty FocusThicknessProperty
FontFamilyProperty
DependencyProperty
Identifies the FontFamily dependency property.
public static readonly DependencyProperty FontFamilyProperty
FontSizeLProperty
DependencyProperty
Identifies the FontSizeL dependency property.
public static readonly DependencyProperty FontSizeLProperty
FontSizeProperty
DependencyProperty
Identifies the FontSize dependency property.
public static readonly DependencyProperty FontSizeProperty
FontSizeSProperty
DependencyProperty
Identifies the FontSizeS dependency property.
public static readonly DependencyProperty FontSizeSProperty
FontSizeXLProperty
DependencyProperty
Identifies the FontSizeXL dependency property.
public static readonly DependencyProperty FontSizeXLProperty
FontSizeXSProperty
DependencyProperty
Identifies the FontSizeXS dependency property.
public static readonly DependencyProperty FontSizeXSProperty
HeaderHighColorProperty
DependencyProperty
Identifies the HeaderHighColor dependency property.
public static readonly DependencyProperty HeaderHighColorProperty
HeaderLowColorProperty
DependencyProperty
Identifies the HeaderLowColor dependency property.
public static readonly DependencyProperty HeaderLowColorProperty
IconColorProperty
DependencyProperty
Identifies the IconColor dependency property.
public static readonly DependencyProperty IconColorProperty
InputOpacityProperty
DependencyProperty
Identifies the InputOpacity dependency property.
public static readonly DependencyProperty InputOpacityProperty
IsFreezableProperty
DependencyProperty
Identifies the IsFreezable DependencyProperty.
public static readonly DependencyProperty IsFreezableProperty
MainHighColorProperty
DependencyProperty
Identifies the MainHighColor dependency property.
public static readonly DependencyProperty MainHighColorProperty
MainLowColorProperty
DependencyProperty
Identifies the MainLowColor dependency property.
public static readonly DependencyProperty MainLowColorProperty
MarkerColorProperty
DependencyProperty
Identifies the MarkerColor dependency property.
public static readonly DependencyProperty MarkerColorProperty
MarkerInvertedColorProperty
DependencyProperty
Identifies the MarkerInvertedColor dependency property.
public static readonly DependencyProperty MarkerInvertedColorProperty
MouseOverHighColorProperty
DependencyProperty
Identifies the MouseOverHighColor dependency property.
public static readonly DependencyProperty MouseOverHighColorProperty
MouseOverLowColorProperty
DependencyProperty
Identifies the MouseOverLowColor dependency property.
public static readonly DependencyProperty MouseOverLowColorProperty
PressedHighColorProperty
DependencyProperty
Identifies the PressedHighColor dependency property.
public static readonly DependencyProperty PressedHighColorProperty
PressedLowColorProperty
DependencyProperty
Identifies the PressedLowColor dependency property.
public static readonly DependencyProperty PressedLowColorProperty
PrimaryBackgroundColorProperty
DependencyProperty
Identifies the PrimaryBackgroundColor dependency property.
public static readonly DependencyProperty PrimaryBackgroundColorProperty
ReadOnlyBackgroundColorProperty
DependencyProperty
Identifies the ReadOnlyBackgroundColor dependency property.
public static readonly DependencyProperty ReadOnlyBackgroundColorProperty
ReadOnlyBorderColorProperty
DependencyProperty
Identifies the ReadOnlyBorderColor dependency property.
public static readonly DependencyProperty ReadOnlyBorderColorProperty
ReadOnlyOpacityProperty
DependencyProperty
Identifies the ReadOnlyOpacity dependency property.
public static readonly DependencyProperty ReadOnlyOpacityProperty
ScrollBarsModeProperty
DependencyProperty
Identifies the ScrollBarsMode dependency property.
public static readonly DependencyProperty ScrollBarsModeProperty
ValidationColorProperty
DependencyProperty
Identifies the ValidationColor dependency property.
public static readonly DependencyProperty ValidationColorProperty
WindowButtonsAlignmentProperty
DependencyProperty
Identifies the WindowButtonsAlignment dependency property.
public static readonly DependencyProperty WindowButtonsAlignmentProperty
Properties
AccentBasicHighColor
Color
Gets or sets the color of the CrystalTheme's accent basic and border elements.
public Color AccentBasicHighColor { get; set; }
AccentBasicLowColor
Color
Gets or sets the color of the CrystalTheme's accent basic and border elements.
public Color AccentBasicLowColor { get; set; }
AccentFocusedColor
Color
Gets or sets the color of the CrystalTheme's focus elements.
public Color AccentFocusedColor { get; set; }
AccentHighColor
Color
Gets or sets the color of the CrystalTheme's accent elements.
public Color AccentHighColor { get; set; }
AccentLowColor
Color
Gets or sets the color of the CrystalTheme's accent elements.
public Color AccentLowColor { get; set; }
Gets or sets the color of the CrystalTheme's mouse over accent elements.
public Color AccentMouseOverHighColor { get; set; }
Gets or sets the color of the CrystalTheme's mouse over accent elements.
public Color AccentMouseOverLowColor { get; set; }
AccentPressedColor
Color
Gets or sets the color of the CrystalTheme's pressed accent elements.
public Color AccentPressedColor { get; set; }
AccentSelectedColor
Color
Gets or sets the color of the CrystalTheme's focus elements.
public Color AccentSelectedColor { get; set; }
Gets or sets the color of the CrystalTheme's alternative basic and border elements.
public Color AlternativeBasicColor { get; set; }
AlternativeColor
Color
Gets or sets the color of the CrystalTheme's alternative elements.
public Color AlternativeColor { get; set; }
BasicHighColor
Color
Gets or sets the color of the CrystalTheme's basic and border elements.
public Color BasicHighColor { get; set; }
BasicLowColor
Color
Gets or sets the color of the CrystalTheme's basic and border elements.
public Color BasicLowColor { get; set; }
Gets or sets the color of the CrystalTheme's complementary elements.
public Color ComplementaryBasicHighColor { get; set; }
Gets or sets the color of the CrystalTheme's complementary elements.
public Color ComplementaryBasicLowColor { get; set; }
ComplementaryColor
Color
Gets or sets the color of the CrystalTheme's complementary elements.
public Color ComplementaryColor { get; set; }
CornerRadius
CornerRadius
Gets or sets the CornerRadius used in borders.
public CornerRadius CornerRadius { get; set; }
CornerRadiusBottom
CornerRadius
Gets or sets the CornerRadiusBottom used in borders.
public CornerRadius CornerRadiusBottom { get; set; }
CornerRadiusLeft
CornerRadius
Gets or sets the CornerRadiusLeft used in borders.
public CornerRadius CornerRadiusLeft { get; set; }
CornerRadiusRight
CornerRadius
Gets or sets the CornerRadiusRight used in borders.
public CornerRadius CornerRadiusRight { get; set; }
CornerRadiusTop
CornerRadius
Gets or sets the CornerRadiusTop used in borders.
public CornerRadius CornerRadiusTop { get; set; }
Gets or sets the DisabledOpacity used in disabled states.
public double DisabledOpacity { get; set; }
FocusThickness
Thickness
Gets or sets the FocusThickness used in focused states.
public Thickness FocusThickness { get; set; }
FontFamily
FontFamily
Gets or sets the FontFamily used in normal texts.
public FontFamily FontFamily { get; set; }
Gets or sets the font size for extra large text.
public double FontSizeXL { get; set; }
Gets or sets the font size for extra small text.
public double FontSizeXS { get; set; }
HeaderHighColor
Color
Gets or sets the color of the CrystalTheme's header elements.
public Color HeaderHighColor { get; set; }
HeaderLowColor
Color
Gets or sets the color of the CrystalTheme's header elements.
public Color HeaderLowColor { get; set; }
IconColor
Color
Gets or sets the color of the CrystalTheme's icons and icon-like elements.
public Color IconColor { get; set; }
Gets or sets the InputOpacity used in the default states of the input controls.
public double InputOpacity { get; set; }
MainHighColor
Color
Gets or sets the color of the CrystalTheme's main elements.
public Color MainHighColor { get; set; }
MainLowColor
Color
Gets or sets the color of the CrystalTheme's main elements.
public Color MainLowColor { get; set; }
MarkerColor
Color
Gets or sets the color of the CrystalTheme's marker and text elements.
public Color MarkerColor { get; set; }
MarkerInvertedColor
Color
Gets or sets the color of the CrystalTheme's inverted marker elements.
public Color MarkerInvertedColor { get; set; }
MouseOverHighColor
Color
Gets or sets the color of the CrystalTheme's main hovered elements.
public Color MouseOverHighColor { get; set; }
MouseOverLowColor
Color
Gets or sets the color of the CrystalTheme's main hovered elements.
public Color MouseOverLowColor { get; set; }
Holds the Palette singleton instance.
public static CrystalPalette Palette { get; }
PressedHighColor
Color
Gets or sets the color of the CrystalTheme's main pressed elements.
public Color PressedHighColor { get; set; }
PressedLowColor
Color
Gets or sets the color of the CrystalTheme's main pressed elements.
public Color PressedLowColor { get; set; }
Gets or sets the color of the CrystalTheme's primary background elements.
public Color PrimaryBackgroundColor { get; set; }
Gets or sets the color of the CrystalTheme's read only background elements.
public Color ReadOnlyBackgroundColor { get; set; }
ReadOnlyBorderColor
Color
Gets or sets the color of the CrystalTheme's read only border elements.
public Color ReadOnlyBorderColor { get; set; }
Gets or sets the ReadOnlyOpacity used in readonly states.
public double ReadOnlyOpacity { get; set; }
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.
public ScrollViewerScrollBarsMode ScrollBarsMode { get; set; }
ValidationColor
Color
Gets or sets the color of the CrystalTheme's validation elements.
public Color ValidationColor { get; set; }
Gets or sets the WindowButtonsAlignment of the header buttons in windows and dialogs.
public ButtonsAlignment WindowButtonsAlignment { get; set; }
Methods
Gets the IsFreezable value from a DependencyObject.
public static bool GetIsFreezable(DependencyObject dependencyObject)
The dependencyObject.
Returns:The IsFreezable value.
Loads a preset.
public static void LoadPreset(CrystalPalette.ColorVariation preset)
The color preset.
Sets the IsFreezable value from a DependencyObject.
public static void SetIsFreezable(DependencyObject dependencyObject, bool value)
The dependencyObject.
valueboolThe IsFreezable value.