ClassCreateNewThemeColorsDialogContext
Represents context for the CreateNewThemeColorsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CreateNewThemeColorsDialogContext : CreateNewThemeItemDialogContextBase<ThemeColorScheme>
Inheritance: objectRadSpreadsheetDialogContextCreateNewThemeItemDialogContextBase<ThemeColorScheme>CreateNewThemeColorsDialogContext
Inherited Members
Constructors
CreateNewThemeColorsDialogContext(RadSpreadsheet, ThemeColorScheme)
Initializes a new instance of the CreateNewThemeColorsDialogContext class.
Declaration
public CreateNewThemeColorsDialogContext(RadSpreadsheet radSpreadsheet, ThemeColorScheme schemeToEdit = null)
Parameters
radSpreadsheet
The RadSpreadsheet.
schemeToEdit
ThemeColorScheme
The scheme to edit.
Properties
Accent1
Gets or sets the first accent color.
Declaration
public Color Accent1 { get; set; }
Property Value
Color
The color the first accent color.
Accent2
Gets or sets the second accent color.
Declaration
public Color Accent2 { get; set; }
Property Value
Color
The color the second accent color.
Accent3
Gets or sets the third accent color.
Declaration
public Color Accent3 { get; set; }
Property Value
Color
The color the third accent color.
Accent4
Gets or sets the fourth accent color.
Declaration
public Color Accent4 { get; set; }
Property Value
Color
The color the fourth accent color.
Accent5
Gets or sets the fifth accent color.
Declaration
public Color Accent5 { get; set; }
Property Value
Color
The color the fifth accent color.
Accent6
Gets or sets the sixth accent color.
Declaration
public Color Accent6 { get; set; }
Property Value
Color
The color the sixth accent color.
Background1
Gets or sets the color of the first background.
Declaration
public Color Background1 { get; set; }
Property Value
Color
The color of the first background.
Background2
Gets or sets the color of the second background.
Declaration
public Color Background2 { get; set; }
Property Value
Color
The color of the second background.
CustomSchemes
Gets the custom schemes.
Declaration
protected override NamedObjects<ThemeColorScheme> CustomSchemes { get; }
Property Value
NamedObjects<ThemeColorScheme>
The custom schemes.
Overrides
FollowedHyperlink
Gets or sets the followed hyperlink color.
Declaration
public Color FollowedHyperlink { get; set; }
Property Value
Color
The followed hyperlink color.
Hyperlink
Gets or sets the hyperlink color.
Declaration
public Color Hyperlink { get; set; }
Property Value
Color
The hyperlink color.
Text1
Gets or sets the color of the first text.
Declaration
public Color Text1 { get; set; }
Property Value
Color
The color of the first text.
Text2
Gets or sets the color of the second text.
Declaration
public Color Text2 { get; set; }
Property Value
Color
The color of the second text.
Methods
GenerateNewThemeScheme()
Generates the new theme scheme.
Declaration
protected override ThemeColorScheme GenerateNewThemeScheme()
Returns
ThemeColorScheme
The new theme scheme.
Overrides
InitializeContext(string, ThemeColorScheme)
Initializes the context.
Declaration
protected override void InitializeContext(string schemeName, ThemeColorScheme scheme)
Parameters
schemeName
Name of the scheme.
scheme
ThemeColorScheme
The scheme.
Overrides