Class
ModulePalette

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

Definition

Namespace:Telerik.Windows.Controls.ColorPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class ModulePalette : OfficeColorPalette

Inheritance: objectColorPaletteBaseOfficeColorPaletteModulePalette

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

Constructors

ModulePalette()

Declaration

cs-api-definition
public ModulePalette()

Methods

GetColors()

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

Declaration

cs-api-definition
public override IEnumerable<Color> GetColors()

Returns

IEnumerable<Color>

Returns a collection of all colors: header and main.

Overrides OfficeColorPalette.GetColors()

GetGeneratedColors()

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

Declaration

cs-api-definition
public override IEnumerable<Color> GetGeneratedColors()

Returns

IEnumerable<Color>

Returns a collection of the generated colors.

Overrides OfficeColorPalette.GetGeneratedColors()

GetHeaderColors()

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

Declaration

cs-api-definition
public override IEnumerable<Color> GetHeaderColors()

Returns

IEnumerable<Color>

Returns a collection of the header colors.

Overrides OfficeColorPalette.GetHeaderColors()