Class
Windows8Colors

Keeps the colors used to colorize the Windows8Theme.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

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

Windows8Colors()

Initializes a new instance of the Windows8Colors class.

Declaration

cs-api-definition
public Windows8Colors()

Fields

ColorProperty

Identifies the Color attached DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorProperty

Field Value

DependencyProperty

Properties

Palette

Get the only one existing Windows8Palette instance.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public Windows8Palette Palette { get; }

Property Value

Windows8Palette

PaletteInstance

Holds a reference to the only one existing Windows8ColorPalette instance.

Declaration

cs-api-definition
[Obsolete("Use Windows8Palette.Palette instead.")]
public static Windows8Palette PaletteInstance { get; }

Property Value

Windows8Palette

Methods

GetColor(DependencyObject)

Gets the Color AttachedProperty.

Declaration

cs-api-definition
public static Windows8ColorType GetColor(DependencyObject obj)

Parameters

obj

DependencyObject

The object this property is attached to.

Returns

Windows8ColorType

SetColor(DependencyObject, Windows8ColorType)

Sets the Color AttachedProperty.

Declaration

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

obj

DependencyObject

The object this property is attached to.

value

Windows8ColorType

The value.