skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CrystalPalette

Hold resources used in the CrystalTheme theme.

Inheritance
System.Object
ThemePalette
CrystalPalette
Inherited Members
ThemePalette.FreezeCore(Boolean)
ThemePalette.CreateInstanceCore()
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll

Syntax

public sealed class CrystalPalette : ThemePalette, IDynamicThemePalette

Fields

AccentBasicHighColorProperty

Identifies the AccentBasicHighColor dependency property.

Declaration
public static readonly DependencyProperty AccentBasicHighColorProperty
Field Value
System.Windows.DependencyProperty

AccentBasicLowColorProperty

Identifies the AccentBasicLowColor dependency property.

Declaration
public static readonly DependencyProperty AccentBasicLowColorProperty
Field Value
System.Windows.DependencyProperty

AccentFocusedColorProperty

Identifies the AccentFocusedColor dependency property.

Declaration
public static readonly DependencyProperty AccentFocusedColorProperty
Field Value
System.Windows.DependencyProperty

AccentHighColorProperty

Identifies the AccentHighColor dependency property.

Declaration
public static readonly DependencyProperty AccentHighColorProperty
Field Value
System.Windows.DependencyProperty

AccentLowColorProperty

Identifies the AccentLowColor dependency property.

Declaration
public static readonly DependencyProperty AccentLowColorProperty
Field Value
System.Windows.DependencyProperty

AccentMouseOverHighColorProperty

Identifies the AccentMouseOverHighColor dependency property.

Declaration
public static readonly DependencyProperty AccentMouseOverHighColorProperty
Field Value
System.Windows.DependencyProperty

AccentMouseOverLowColorProperty

Identifies the AccentMouseOverLowColor dependency property.

Declaration
public static readonly DependencyProperty AccentMouseOverLowColorProperty
Field Value
System.Windows.DependencyProperty

AccentPressedColorProperty

Identifies the AccentPressedColor dependency property.

Declaration
public static readonly DependencyProperty AccentPressedColorProperty
Field Value
System.Windows.DependencyProperty

AccentSelectedColorProperty

Identifies the AccentSelectedColor dependency property.

Declaration
public static readonly DependencyProperty AccentSelectedColorProperty
Field Value
System.Windows.DependencyProperty

AlternativeBasicColorProperty

Identifies the AlternativeBasicColor dependency property.

Declaration
public static readonly DependencyProperty AlternativeBasicColorProperty
Field Value
System.Windows.DependencyProperty

AlternativeColorProperty

Identifies the AlternativeColor dependency property.

Declaration
public static readonly DependencyProperty AlternativeColorProperty
Field Value
System.Windows.DependencyProperty

BasicHighColorProperty

Identifies the BasicHighColor dependency property.

Declaration
public static readonly DependencyProperty BasicHighColorProperty
Field Value
System.Windows.DependencyProperty

BasicLowColorProperty

Identifies the BasicLowColor dependency property.

Declaration
public static readonly DependencyProperty BasicLowColorProperty
Field Value
System.Windows.DependencyProperty

ComplementaryBasicHighColorProperty

Identifies the ComplementaryBasicHighColor dependency property.

Declaration
public static readonly DependencyProperty ComplementaryBasicHighColorProperty
Field Value
System.Windows.DependencyProperty

ComplementaryBasicLowColorProperty

Identifies the ComplementaryBasicLowColor dependency property.

Declaration
public static readonly DependencyProperty ComplementaryBasicLowColorProperty
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

DisabledOpacityProperty

Identifies the DisabledOpacity dependency property.

Declaration
public static readonly DependencyProperty DisabledOpacityProperty
Field Value
System.Windows.DependencyProperty

FocusThicknessProperty

Identifies the FocusThickness dependency property.

Declaration
public static readonly DependencyProperty FocusThicknessProperty
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

FontSizeXLProperty

Identifies the FontSizeXL dependency property.

Declaration
public static readonly DependencyProperty FontSizeXLProperty
Field Value
System.Windows.DependencyProperty

FontSizeXSProperty

Identifies the FontSizeXS dependency property.

Declaration
public static readonly DependencyProperty FontSizeXSProperty
Field Value
System.Windows.DependencyProperty

HeaderHighColorProperty

Identifies the HeaderHighColor dependency property.

Declaration
public static readonly DependencyProperty HeaderHighColorProperty
Field Value
System.Windows.DependencyProperty

HeaderLowColorProperty

Identifies the HeaderLowColor dependency property.

Declaration
public static readonly DependencyProperty HeaderLowColorProperty
Field Value
System.Windows.DependencyProperty

IconColorProperty

Identifies the IconColor dependency property.

Declaration
public static readonly DependencyProperty IconColorProperty
Field Value
System.Windows.DependencyProperty

InputOpacityProperty

Identifies the InputOpacity dependency property.

Declaration
public static readonly DependencyProperty InputOpacityProperty
Field Value
System.Windows.DependencyProperty

IsFreezableProperty

Identifies the IsFreezable DependencyProperty.

Declaration
public static readonly DependencyProperty IsFreezableProperty
Field Value
System.Windows.DependencyProperty

MainHighColorProperty

Identifies the MainHighColor dependency property.

Declaration
public static readonly DependencyProperty MainHighColorProperty
Field Value
System.Windows.DependencyProperty

MainLowColorProperty

Identifies the MainLowColor dependency property.

Declaration
public static readonly DependencyProperty MainLowColorProperty
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

MouseOverHighColorProperty

Identifies the MouseOverHighColor dependency property.

Declaration
public static readonly DependencyProperty MouseOverHighColorProperty
Field Value
System.Windows.DependencyProperty

MouseOverLowColorProperty

Identifies the MouseOverLowColor dependency property.

Declaration
public static readonly DependencyProperty MouseOverLowColorProperty
Field Value
System.Windows.DependencyProperty

PressedHighColorProperty

Identifies the PressedHighColor dependency property.

Declaration
public static readonly DependencyProperty PressedHighColorProperty
Field Value
System.Windows.DependencyProperty

PressedLowColorProperty

Identifies the PressedLowColor dependency property.

Declaration
public static readonly DependencyProperty PressedLowColorProperty
Field Value
System.Windows.DependencyProperty

PrimaryBackgroundColorProperty

Identifies the PrimaryBackgroundColor dependency property.

Declaration
public static readonly DependencyProperty PrimaryBackgroundColorProperty
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

ReadOnlyOpacityProperty

Identifies the ReadOnlyOpacity dependency property.

Declaration
public static readonly DependencyProperty ReadOnlyOpacityProperty
Field Value
System.Windows.DependencyProperty

ScrollBarsModeProperty

Identifies the ScrollBarsMode dependency property.

Declaration
public static readonly DependencyProperty ScrollBarsModeProperty
Field Value
System.Windows.DependencyProperty

ValidationColorProperty

Identifies the ValidationColor dependency property.

Declaration
public static readonly DependencyProperty ValidationColorProperty
Field Value
System.Windows.DependencyProperty

WindowButtonsAlignmentProperty

Identifies the WindowButtonsAlignment dependency property.

Declaration
public static readonly DependencyProperty WindowButtonsAlignmentProperty
Field Value
System.Windows.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
System.Windows.Media.Color

AccentBasicLowColor

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

Declaration
public Color AccentBasicLowColor { get; set; }
Property Value
System.Windows.Media.Color

AccentFocusedColor

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

Declaration
public Color AccentFocusedColor { get; set; }
Property Value
System.Windows.Media.Color

AccentHighColor

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

Declaration
public Color AccentHighColor { get; set; }
Property Value
System.Windows.Media.Color

AccentLowColor

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

Declaration
public Color AccentLowColor { get; set; }
Property Value
System.Windows.Media.Color

AccentMouseOverHighColor

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

Declaration
public Color AccentMouseOverHighColor { get; set; }
Property Value
System.Windows.Media.Color

AccentMouseOverLowColor

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

Declaration
public Color AccentMouseOverLowColor { get; set; }
Property Value
System.Windows.Media.Color

AccentPressedColor

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

Declaration
public Color AccentPressedColor { get; set; }
Property Value
System.Windows.Media.Color

AccentSelectedColor

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

Declaration
public Color AccentSelectedColor { get; set; }
Property Value
System.Windows.Media.Color

AlternativeBasicColor

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

Declaration
public Color AlternativeBasicColor { get; set; }
Property Value
System.Windows.Media.Color

AlternativeColor

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

Declaration
public Color AlternativeColor { get; set; }
Property Value
System.Windows.Media.Color

BasicHighColor

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

Declaration
public Color BasicHighColor { get; set; }
Property Value
System.Windows.Media.Color

BasicLowColor

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

Declaration
public Color BasicLowColor { get; set; }
Property Value
System.Windows.Media.Color

ComplementaryBasicHighColor

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

Declaration
public Color ComplementaryBasicHighColor { get; set; }
Property Value
System.Windows.Media.Color

ComplementaryBasicLowColor

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

Declaration
public Color ComplementaryBasicLowColor { get; set; }
Property Value
System.Windows.Media.Color

ComplementaryColor

Gets or sets the color of the CrystalTheme'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

DisabledOpacity

Gets or sets the DisabledOpacity used in disabled states.

Declaration
public double DisabledOpacity { get; set; }
Property Value
System.Double

FocusThickness

Gets or sets the FocusThickness used in focused states.

Declaration
public Thickness FocusThickness { get; set; }
Property Value
System.Windows.Thickness

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

FontSizeXL

Gets or sets the font size for extra large text.

Declaration
public double FontSizeXL { get; set; }
Property Value
System.Double

FontSizeXS

Gets or sets the font size for extra small text.

Declaration
public double FontSizeXS { get; set; }
Property Value
System.Double

HeaderHighColor

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

Declaration
public Color HeaderHighColor { get; set; }
Property Value
System.Windows.Media.Color

HeaderLowColor

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

Declaration
public Color HeaderLowColor { get; set; }
Property Value
System.Windows.Media.Color

IconColor

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

Declaration
public Color IconColor { get; set; }
Property Value
System.Windows.Media.Color

InputOpacity

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

Declaration
public double InputOpacity { get; set; }
Property Value
System.Double

MainHighColor

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

Declaration
public Color MainHighColor { get; set; }
Property Value
System.Windows.Media.Color

MainLowColor

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

Declaration
public Color MainLowColor { get; set; }
Property Value
System.Windows.Media.Color

MarkerColor

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

Declaration
public Color MarkerColor { get; set; }
Property Value
System.Windows.Media.Color

MarkerInvertedColor

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

Declaration
public Color MarkerInvertedColor { get; set; }
Property Value
System.Windows.Media.Color

MouseOverHighColor

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

Declaration
public Color MouseOverHighColor { get; set; }
Property Value
System.Windows.Media.Color

MouseOverLowColor

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

Declaration
public Color MouseOverLowColor { get; set; }
Property Value
System.Windows.Media.Color

Palette

Holds the Palette singleton instance.

Declaration
public static CrystalPalette Palette { get; }
Property Value
CrystalPalette

PressedHighColor

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

Declaration
public Color PressedHighColor { get; set; }
Property Value
System.Windows.Media.Color

PressedLowColor

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

Declaration
public Color PressedLowColor { get; set; }
Property Value
System.Windows.Media.Color

PrimaryBackgroundColor

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

Declaration
public Color PrimaryBackgroundColor { get; set; }
Property Value
System.Windows.Media.Color

ReadOnlyBackgroundColor

Gets or sets the color of the CrystalTheme'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 CrystalTheme's read only border elements.

Declaration
public Color ReadOnlyBorderColor { get; set; }
Property Value
System.Windows.Media.Color

ReadOnlyOpacity

Gets or sets the ReadOnlyOpacity used in readonly states.

Declaration
public double ReadOnlyOpacity { get; set; }
Property Value
System.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
public ScrollViewerScrollBarsMode ScrollBarsMode { get; set; }
Property Value
ScrollViewerScrollBarsMode

ValidationColor

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

Declaration
public Color ValidationColor { get; set; }
Property Value
System.Windows.Media.Color

WindowButtonsAlignment

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

Declaration
public ButtonsAlignment WindowButtonsAlignment { get; set; }
Property Value
ButtonsAlignment

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(CrystalPalette.ColorVariation)

Loads a preset.

Declaration
public static void LoadPreset(CrystalPalette.ColorVariation preset)
Parameters
CrystalPalette.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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.