ClassOriginPalette
OriginPalette is an Office2007 color palette. It enables you to get the header Origin colors, the generated Origin colors as well as all the colors.
Definition
Namespace:Telerik.Windows.Controls.ColorPicker
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public class OriginPalette : OfficeColorPalette
Inheritance: objectColorPaletteBaseOfficeColorPaletteOriginPalette
Inherited Members
Constructors
OriginPalette()
Declaration
public OriginPalette()
Methods
GetColors()
GetColors represent all the colors in the Origin Palette including header and main palette colors.
Declaration
public override IEnumerable<Color> GetColors()
Returns
IEnumerable<Color>
Returns a collection of all colors: header and main.
Overrides
GetGeneratedColors()
GetGeneratedColors is used when you want to get only the generated(the production from the base colors) colors for the Origin Office palette.
Declaration
public override IEnumerable<Color> GetGeneratedColors()
Returns
IEnumerable<Color>
Returns a collection of the generated colors.
Overrides
Remarks
This method returns the main palette colors and it is implemented in all classes that derive from OfficeColorPalette.
GetHeaderColors()
GetHeaderColors is used when you want to get only the base(header) colors for the Origin Office palette.
Declaration
public override IEnumerable<Color> GetHeaderColors()
Returns
IEnumerable<Color>
Returns a collection of the header colors.
Overrides