Class SpreadsheetColorPalette
Provides methods and properties for using the Color Palette in RadSpreadsheet.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class SpreadsheetColorPalette : Object
Constructors
SpreadsheetColorPalette(ThemeColorScheme)
Initializes a new instance of the Spreadsheet
Declaration
public SpreadsheetColorPalette(ThemeColorScheme colorScheme)
Parameters
Telerik. The color scheme of the initialized Spreadsheet |
Properties
ColorScheme
Gets the color scheme.
Declaration
public ThemeColorScheme ColorScheme { get; }
Property Value
Telerik. The color scheme of the theme. |
HeaderPaletteItemsSource
Gets the header palette items source.
Declaration
public IEnumerable<Color> HeaderPaletteItemsSource { get; }
Property Value
System. Collection of System. |
Item[Int32]
Gets the System.
Declaration
public Color this[int index] { get; }
Parameters
System. The index of the desired color. |
Property Value
System. The System. |
MainPaletteItemsSource
Gets the main palette items source.
Declaration
public IEnumerable<Color> MainPaletteItemsSource { get; }
Property Value
System. Collection of System. |
MainPaletteOrientation
Gets the main palette orientation.
Declaration
public Orientation MainPaletteOrientation { get; }
Property Value
System. The main palette orientation. |
Methods
GetColorFromThemableColor(ThemableColor)
Gets the System.
Declaration
public Color GetColorFromThemableColor(ThemableColor themableColor)
Parameters
Telerik. The themableColor. |
Returns
System. The System. |
GetThemableColorFromColor(Color)
Gets the themable color corresponding to a desired System.
Declaration
public ThemableColor GetThemableColorFromColor(Color color)
Parameters
System. The color. |
Returns
Telerik. The themable color corresponding to a desired System. |