New to Telerik UI for WPFStart a free 30-day trial

Keeps the colors used to colorize the Windows8Theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[Obsolete("Use Windows8Palette and the Windows8Palette.Palette instance. For XAML resources merge the Windows8Resources resource dictionary in your styles and set Windows8ResourceExtension for color value.")]
public sealed class Windows8Colors

Inheritance: objectWindows8Colors

Constructors

Initializes a new instance of the Windows8Colors class.

C#
public Windows8Colors()

Fields

ColorProperty

DependencyProperty

Identifies the Color attached DependencyProperty.

C#
public static readonly DependencyProperty ColorProperty

Properties

Get the only one existing Windows8Palette instance.

C#
public Windows8Palette Palette { get; }

Holds a reference to the only one existing Windows8ColorPalette instance.

C#
[Obsolete("Use Windows8Palette.Palette instead.")]
public static Windows8Palette PaletteInstance { get; }

Methods

Gets the Color AttachedProperty.

C#
public static Windows8ColorType GetColor(DependencyObject obj)
Parameters:objDependencyObject

The object this property is attached to.

Returns:

Windows8ColorType

Sets the Color AttachedProperty.

C#
[Obsolete("Bind the Color to a color property of a Windows8Colors instance instead and set Windows8Palette.IsFreezable attached proeprty to true.")]
public static void SetColor(DependencyObject obj, Windows8ColorType value)
Parameters:objDependencyObject

The object this property is attached to.

valueWindows8ColorType

The value.