New to Telerik UI for WPF? Start a free 30-day trial

SolsticePalette is an Office2007 color palette. It enables you to get the header Solstice colors, the generated Solstice colors as well as all the colors.

The main Solstice palette has 10 columns and 6 rows. It can be used in order to set the ItemSource of a palette.

Definition

Namespace:Telerik.Windows.Controls.ColorPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class SolsticePalette : OfficeColorPalette

Inheritance: objectColorPaletteBaseOfficeColorPaletteSolsticePalette

Inherited Members OfficeColorPalette.GetPaletteFromBaseColors(IEnumerable<Color>)OfficeColorPalette.ColumnsCountOfficeColorPalette.ItemsFlowColorPaletteBase.HexStringToColor(string)

Constructors

C#
public SolsticePalette()

Methods

GetColors represent all the colors in the Solstice Palette including header and main palette colors.

C#
public override IEnumerable<Color> GetColors()
Returns:

IEnumerable<Color>

Returns a collection of all colors: header and main.

Overrides: OfficeColorPalette.GetColors()

GetGeneratedColors is used when you want to get only the generated(the production from the base colors) colors for the Solstice Office palette.

C#
public override IEnumerable<Color> GetGeneratedColors()
Returns:

IEnumerable<Color>

Returns a collection of the generated colors.

Overrides: OfficeColorPalette.GetGeneratedColors()

GetHeaderColors is used when you want to get only the base(header) colors for the Solstice Office palette.

C#
public override IEnumerable<Color> GetHeaderColors()
Returns:

IEnumerable<Color>

Returns a collection of the header colors.

Overrides: OfficeColorPalette.GetHeaderColors()