Class OfficePalette
OfficePalette is an Office2007 color palette. It enables you to get the header Office colors, the generated Office colors as well as all the colors.
Inherited Members
Namespace: Telerik.Windows.Controls.ColorPicker
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class OfficePalette : OfficeColorPalette
Remarks
The main Office palette has 10 columns and 6 rows. It can be used in order to set the ItemSource of a palette.
Constructors
OfficePalette()
Declaration
public OfficePalette()
Methods
GetColors()
GetColors represent all the colors in the Office Palette including header and main palette colors.
Declaration
public override IEnumerable<Color> GetColors()
Returns
System.Collections.Generic.IEnumerable<System.Windows.Media.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 Office palette.
Declaration
public override IEnumerable<Color> GetGeneratedColors()
Returns
System.Collections.Generic.IEnumerable<System.Windows.Media.Color>
Returns a collection of the generated colors. |
Overrides
GetHeaderColors()
GetHeaderColors is used when you want to get only the base(header) colors for the Office Office2007 palette.
Declaration
public override IEnumerable<Color> GetHeaderColors()
Returns
System.Collections.Generic.IEnumerable<System.Windows.Media.Color>
Returns a collection of the header colors. |