Class
CrystalPalette

Hold resources used in the CrystalTheme theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public sealed class CrystalPalette : ThemePalette

Inheritance: objectThemePaletteCrystalPalette

Fields

AccentBasicHighColorProperty

Identifies the AccentBasicHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentBasicHighColorProperty

Field Value

DependencyProperty

AccentBasicLowColorProperty

Identifies the AccentBasicLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentBasicLowColorProperty

Field Value

DependencyProperty

AccentFocusedColorProperty

Identifies the AccentFocusedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentFocusedColorProperty

Field Value

DependencyProperty

AccentHighColorProperty

Identifies the AccentHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentHighColorProperty

Field Value

DependencyProperty

AccentLowColorProperty

Identifies the AccentLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentLowColorProperty

Field Value

DependencyProperty

AccentMouseOverHighColorProperty

Identifies the AccentMouseOverHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentMouseOverHighColorProperty

Field Value

DependencyProperty

AccentMouseOverLowColorProperty

Identifies the AccentMouseOverLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentMouseOverLowColorProperty

Field Value

DependencyProperty

AccentPressedColorProperty

Identifies the AccentPressedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentPressedColorProperty

Field Value

DependencyProperty

AccentSelectedColorProperty

Identifies the AccentSelectedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AccentSelectedColorProperty

Field Value

DependencyProperty

AlternativeBasicColorProperty

Identifies the AlternativeBasicColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AlternativeBasicColorProperty

Field Value

DependencyProperty

AlternativeColorProperty

Identifies the AlternativeColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AlternativeColorProperty

Field Value

DependencyProperty

BasicHighColorProperty

Identifies the BasicHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BasicHighColorProperty

Field Value

DependencyProperty

BasicLowColorProperty

Identifies the BasicLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty BasicLowColorProperty

Field Value

DependencyProperty

ComplementaryBasicHighColorProperty

Identifies the ComplementaryBasicHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ComplementaryBasicHighColorProperty

Field Value

DependencyProperty

ComplementaryBasicLowColorProperty

Identifies the ComplementaryBasicLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ComplementaryBasicLowColorProperty

Field Value

DependencyProperty

ComplementaryColorProperty

Identifies the ComplementaryColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ComplementaryColorProperty

Field Value

DependencyProperty

CornerRadiusBottomProperty

Identifies the CornerRadiusBottom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusBottomProperty

Field Value

DependencyProperty

CornerRadiusLeftProperty

Identifies the CornerRadiusLeft dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusLeftProperty

Field Value

DependencyProperty

CornerRadiusProperty

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

CornerRadiusRightProperty

Identifies the CornerRadiusRight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusRightProperty

Field Value

DependencyProperty

CornerRadiusTopProperty

Identifies the CornerRadiusTop dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusTopProperty

Field Value

DependencyProperty

DisabledOpacityProperty

Identifies the DisabledOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisabledOpacityProperty

Field Value

DependencyProperty

FocusThicknessProperty

Identifies the FocusThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FocusThicknessProperty

Field Value

DependencyProperty

FontFamilyProperty

Identifies the FontFamily dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontFamilyProperty

Field Value

DependencyProperty

FontSizeLProperty

Identifies the FontSizeL dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeLProperty

Field Value

DependencyProperty

FontSizeProperty

Identifies the FontSize dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeProperty

Field Value

DependencyProperty

FontSizeSProperty

Identifies the FontSizeS dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeSProperty

Field Value

DependencyProperty

FontSizeXLProperty

Identifies the FontSizeXL dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeXLProperty

Field Value

DependencyProperty

FontSizeXSProperty

Identifies the FontSizeXS dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizeXSProperty

Field Value

DependencyProperty

HeaderHighColorProperty

Identifies the HeaderHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderHighColorProperty

Field Value

DependencyProperty

HeaderLowColorProperty

Identifies the HeaderLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderLowColorProperty

Field Value

DependencyProperty

IconColorProperty

Identifies the IconColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconColorProperty

Field Value

DependencyProperty

InputOpacityProperty

Identifies the InputOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty InputOpacityProperty

Field Value

DependencyProperty

IsFreezableProperty

Identifies the IsFreezable DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsFreezableProperty

Field Value

DependencyProperty

MainHighColorProperty

Identifies the MainHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MainHighColorProperty

Field Value

DependencyProperty

MainLowColorProperty

Identifies the MainLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MainLowColorProperty

Field Value

DependencyProperty

MarkerColorProperty

Identifies the MarkerColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarkerColorProperty

Field Value

DependencyProperty

MarkerInvertedColorProperty

Identifies the MarkerInvertedColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MarkerInvertedColorProperty

Field Value

DependencyProperty

MouseOverHighColorProperty

Identifies the MouseOverHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseOverHighColorProperty

Field Value

DependencyProperty

MouseOverLowColorProperty

Identifies the MouseOverLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MouseOverLowColorProperty

Field Value

DependencyProperty

PressedHighColorProperty

Identifies the PressedHighColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PressedHighColorProperty

Field Value

DependencyProperty

PressedLowColorProperty

Identifies the PressedLowColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PressedLowColorProperty

Field Value

DependencyProperty

PrimaryBackgroundColorProperty

Identifies the PrimaryBackgroundColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PrimaryBackgroundColorProperty

Field Value

DependencyProperty

ReadOnlyBackgroundColorProperty

Identifies the ReadOnlyBackgroundColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyBackgroundColorProperty

Field Value

DependencyProperty

ReadOnlyBorderColorProperty

Identifies the ReadOnlyBorderColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyBorderColorProperty

Field Value

DependencyProperty

ReadOnlyOpacityProperty

Identifies the ReadOnlyOpacity dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReadOnlyOpacityProperty

Field Value

DependencyProperty

ScrollBarsModeProperty

Identifies the ScrollBarsMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScrollBarsModeProperty

Field Value

DependencyProperty

ValidationColorProperty

Identifies the ValidationColor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValidationColorProperty

Field Value

DependencyProperty

WindowButtonsAlignmentProperty

Identifies the WindowButtonsAlignment dependency property.

Declaration

cs-api-definition
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

cs-api-definition
public Color AccentBasicHighColor { get; set; }

Property Value

Color

AccentBasicLowColor

Gets or sets the color of the CrystalTheme's accent basic and border elements.

Declaration

cs-api-definition
public Color AccentBasicLowColor { get; set; }

Property Value

Color

AccentFocusedColor

Gets or sets the color of the CrystalTheme's focus elements.

Declaration

cs-api-definition
public Color AccentFocusedColor { get; set; }

Property Value

Color

AccentHighColor

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

Declaration

cs-api-definition
public Color AccentHighColor { get; set; }

Property Value

Color

AccentLowColor

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

Declaration

cs-api-definition
public Color AccentLowColor { get; set; }

Property Value

Color

AccentMouseOverHighColor

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

Declaration

cs-api-definition
public Color AccentMouseOverHighColor { get; set; }

Property Value

Color

AccentMouseOverLowColor

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

Declaration

cs-api-definition
public Color AccentMouseOverLowColor { get; set; }

Property Value

Color

AccentPressedColor

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

Declaration

cs-api-definition
public Color AccentPressedColor { get; set; }

Property Value

Color

AccentSelectedColor

Gets or sets the color of the CrystalTheme's focus elements.

Declaration

cs-api-definition
public Color AccentSelectedColor { get; set; }

Property Value

Color

AlternativeBasicColor

Gets or sets the color of the CrystalTheme's alternative basic and border elements.

Declaration

cs-api-definition
public Color AlternativeBasicColor { get; set; }

Property Value

Color

AlternativeColor

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

Declaration

cs-api-definition
public Color AlternativeColor { get; set; }

Property Value

Color

BasicHighColor

Gets or sets the color of the CrystalTheme's basic and border elements.

Declaration

cs-api-definition
public Color BasicHighColor { get; set; }

Property Value

Color

BasicLowColor

Gets or sets the color of the CrystalTheme's basic and border elements.

Declaration

cs-api-definition
public Color BasicLowColor { get; set; }

Property Value

Color

ComplementaryBasicHighColor

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

Declaration

cs-api-definition
public Color ComplementaryBasicHighColor { get; set; }

Property Value

Color

ComplementaryBasicLowColor

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

Declaration

cs-api-definition
public Color ComplementaryBasicLowColor { get; set; }

Property Value

Color

ComplementaryColor

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

Declaration

cs-api-definition
public Color ComplementaryColor { get; set; }

Property Value

Color

CornerRadius

Gets or sets the CornerRadius used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

CornerRadiusBottom

Gets or sets the CornerRadiusBottom used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusBottom { get; set; }

Property Value

CornerRadius

CornerRadiusLeft

Gets or sets the CornerRadiusLeft used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusLeft { get; set; }

Property Value

CornerRadius

CornerRadiusRight

Gets or sets the CornerRadiusRight used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusRight { get; set; }

Property Value

CornerRadius

CornerRadiusTop

Gets or sets the CornerRadiusTop used in borders.

Declaration

cs-api-definition
public CornerRadius CornerRadiusTop { get; set; }

Property Value

CornerRadius

DisabledOpacity

Gets or sets the DisabledOpacity used in disabled states.

Declaration

cs-api-definition
public double DisabledOpacity { get; set; }

Property Value

double

FocusThickness

Gets or sets the FocusThickness used in focused states.

Declaration

cs-api-definition
public Thickness FocusThickness { get; set; }

Property Value

Thickness

FontFamily

Gets or sets the FontFamily used in normal texts.

Declaration

cs-api-definition
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

FontSize

Gets or sets the font size for normal text.

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

FontSizeL

Gets or sets the font size for large text.

Declaration

cs-api-definition
public double FontSizeL { get; set; }

Property Value

double

FontSizeS

Gets or sets the font size for small text.

Declaration

cs-api-definition
public double FontSizeS { get; set; }

Property Value

double

FontSizeXL

Gets or sets the font size for extra large text.

Declaration

cs-api-definition
public double FontSizeXL { get; set; }

Property Value

double

FontSizeXS

Gets or sets the font size for extra small text.

Declaration

cs-api-definition
public double FontSizeXS { get; set; }

Property Value

double

HeaderHighColor

Gets or sets the color of the CrystalTheme's header elements.

Declaration

cs-api-definition
public Color HeaderHighColor { get; set; }

Property Value

Color

HeaderLowColor

Gets or sets the color of the CrystalTheme's header elements.

Declaration

cs-api-definition
public Color HeaderLowColor { get; set; }

Property Value

Color

IconColor

Gets or sets the color of the CrystalTheme's icons and icon-like elements.

Declaration

cs-api-definition
public Color IconColor { get; set; }

Property Value

Color

InputOpacity

Gets or sets the InputOpacity used in the default states of the input controls.

Declaration

cs-api-definition
public double InputOpacity { get; set; }

Property Value

double

MainHighColor

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

Declaration

cs-api-definition
public Color MainHighColor { get; set; }

Property Value

Color

MainLowColor

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

Declaration

cs-api-definition
public Color MainLowColor { get; set; }

Property Value

Color

MarkerColor

Gets or sets the color of the CrystalTheme's marker and text elements.

Declaration

cs-api-definition
public Color MarkerColor { get; set; }

Property Value

Color

MarkerInvertedColor

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

Declaration

cs-api-definition
public Color MarkerInvertedColor { get; set; }

Property Value

Color

MouseOverHighColor

Gets or sets the color of the CrystalTheme's main hovered elements.

Declaration

cs-api-definition
public Color MouseOverHighColor { get; set; }

Property Value

Color

MouseOverLowColor

Gets or sets the color of the CrystalTheme's main hovered elements.

Declaration

cs-api-definition
public Color MouseOverLowColor { get; set; }

Property Value

Color

Palette

Holds the Palette singleton instance.

Declaration

cs-api-definition
public static CrystalPalette Palette { get; }

Property Value

CrystalPalette

PressedHighColor

Gets or sets the color of the CrystalTheme's main pressed elements.

Declaration

cs-api-definition
public Color PressedHighColor { get; set; }

Property Value

Color

PressedLowColor

Gets or sets the color of the CrystalTheme's main pressed elements.

Declaration

cs-api-definition
public Color PressedLowColor { get; set; }

Property Value

Color

PrimaryBackgroundColor

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

Declaration

cs-api-definition
public Color PrimaryBackgroundColor { get; set; }

Property Value

Color

ReadOnlyBackgroundColor

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

Declaration

cs-api-definition
public Color ReadOnlyBackgroundColor { get; set; }

Property Value

Color

ReadOnlyBorderColor

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

Declaration

cs-api-definition
public Color ReadOnlyBorderColor { get; set; }

Property Value

Color

ReadOnlyOpacity

Gets or sets the ReadOnlyOpacity used in readonly states.

Declaration

cs-api-definition
public double ReadOnlyOpacity { get; set; }

Property Value

double

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

cs-api-definition
public ScrollViewerScrollBarsMode ScrollBarsMode { get; set; }

Property Value

ScrollViewerScrollBarsMode

ValidationColor

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

Declaration

cs-api-definition
public Color ValidationColor { get; set; }

Property Value

Color

WindowButtonsAlignment

Gets or sets the WindowButtonsAlignment of the header buttons in windows and dialogs.

Declaration

cs-api-definition
public ButtonsAlignment WindowButtonsAlignment { get; set; }

Property Value

ButtonsAlignment

Methods

GetIsFreezable(DependencyObject)

Gets the IsFreezable value from a DependencyObject.

Declaration

cs-api-definition
public static bool GetIsFreezable(DependencyObject dependencyObject)

Parameters

dependencyObject

DependencyObject

The dependencyObject.

Returns

bool

The IsFreezable value.

LoadPreset(ColorVariation)

Loads a preset.

Declaration

cs-api-definition
public static void LoadPreset(CrystalPalette.ColorVariation preset)

Parameters

preset

CrystalPalette.ColorVariation

The color preset.

SetIsFreezable(DependencyObject, bool)

Sets the IsFreezable value from a DependencyObject.

Declaration

cs-api-definition
public static void SetIsFreezable(DependencyObject dependencyObject, bool value)

Parameters

dependencyObject

DependencyObject

The dependencyObject.

value

bool

The IsFreezable value.

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