Class CreateNewThemeColorsDialogContext
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CreateNewThemeColorsDialogContext : CreateNewThemeItemDialogContextBase<ThemeColorScheme>
Constructors
CreateNewThemeColorsDialogContext(RadSpreadsheetElement, ThemeColorScheme)
Initializes a new instance of the CreateNewThemeColorsDialogContext class.
Declaration
public CreateNewThemeColorsDialogContext(RadSpreadsheetElement radSpreadsheet, ThemeColorScheme schemeToEdit = null)
Parameters
RadSpreadsheetElement
radSpreadsheet
The RadSpreadsheet. |
ThemeColorScheme
schemeToEdit
The scheme to edit. |
Properties
Accent1
Gets or sets the first accent color.
Declaration
public Color Accent1 { get; set; }
Property Value
System.Drawing.Color
The color the first accent color. |
Accent2
Gets or sets the second accent color.
Declaration
public Color Accent2 { get; set; }
Property Value
System.Drawing.Color
The color the second accent color. |
Accent3
Gets or sets the third accent color.
Declaration
public Color Accent3 { get; set; }
Property Value
System.Drawing.Color
The color the third accent color. |
Accent4
Gets or sets the fourth accent color.
Declaration
public Color Accent4 { get; set; }
Property Value
System.Drawing.Color
The color the fourth accent color. |
Accent5
Gets or sets the fifth accent color.
Declaration
public Color Accent5 { get; set; }
Property Value
System.Drawing.Color
The color the fifth accent color. |
Accent6
Gets or sets the sixth accent color.
Declaration
public Color Accent6 { get; set; }
Property Value
System.Drawing.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
System.Drawing.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
System.Drawing.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
System.Drawing.Color
The followed hyperlink color. |
Hyperlink
Gets or sets the hyperlink color.
Declaration
public Color Hyperlink { get; set; }
Property Value
System.Drawing.Color
The hyperlink color. |
Text1
Gets or sets the color of the first text.
Declaration
public Color Text1 { get; set; }
Property Value
System.Drawing.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
System.Drawing.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
System.String
schemeName
Name of the scheme. |
ThemeColorScheme
scheme
The scheme. |