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
Initializes a new instance of the CreateNewThemeColorsDialogContext class.
public CreateNewThemeColorsDialogContext(RadSpreadsheet radSpreadsheet, ThemeColorScheme schemeToEdit = null)
The RadSpreadsheet.
schemeToEditThemeColorSchemeThe scheme to edit.
Properties
Accent1
Color
Gets or sets the first accent color.
public Color Accent1 { get; set; }
The color the first accent color.
Accent2
Color
Gets or sets the second accent color.
public Color Accent2 { get; set; }
The color the second accent color.
Accent3
Color
Gets or sets the third accent color.
public Color Accent3 { get; set; }
The color the third accent color.
Accent4
Color
Gets or sets the fourth accent color.
public Color Accent4 { get; set; }
The color the fourth accent color.
Accent5
Color
Gets or sets the fifth accent color.
public Color Accent5 { get; set; }
The color the fifth accent color.
Accent6
Color
Gets or sets the sixth accent color.
public Color Accent6 { get; set; }
The color the sixth accent color.
Background1
Color
Gets or sets the color of the first background.
public Color Background1 { get; set; }
The color of the first background.
Background2
Color
Gets or sets the color of the second background.
public Color Background2 { get; set; }
The color of the second background.
CustomSchemes
NamedObjects<ThemeColorScheme>
Gets the custom schemes.
protected override NamedObjects<ThemeColorScheme> CustomSchemes { get; }
The custom schemes.
Overrides:
FollowedHyperlink
Color
Gets or sets the followed hyperlink color.
public Color FollowedHyperlink { get; set; }
The followed hyperlink color.
Hyperlink
Color
Gets or sets the hyperlink color.
public Color Hyperlink { get; set; }
The hyperlink color.
Text1
Color
Gets or sets the color of the first text.
public Color Text1 { get; set; }
The color of the first text.
Text2
Color
Gets or sets the color of the second text.
public Color Text2 { get; set; }
The color of the second text.
Methods
GenerateNewThemeScheme()
ThemeColorScheme
Generates the new theme scheme.
protected override ThemeColorScheme GenerateNewThemeScheme()
ThemeColorScheme
The new theme scheme.
Overrides:
Initializes the context.
protected override void InitializeContext(string schemeName, ThemeColorScheme scheme)
Name of the scheme.
schemeThemeColorSchemeThe scheme.
Overrides: