Class CreateNewThemeColorsDialogContext
Represents context for the CreateNewThemeColorsDialog.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class CreateNewThemeColorsDialogContext : CreateNewThemeItemDialogContextBase<ThemeColorScheme>
Constructors
CreateNewThemeColorsDialogContext(RadSpreadsheet, ThemeColorScheme)
Initializes a new instance of the CreateNewThemeColorsDialogContext class.
Declaration
public CreateNewThemeColorsDialogContext(RadSpreadsheet radSpreadsheet, ThemeColorScheme schemeToEdit = null)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Documents.Common.Model.ThemeColorScheme
schemeToEdit
The scheme to edit. |
Properties
Accent1
Gets or sets the first accent color.
Declaration
public Color Accent1 { get; set; }
Property Value
System.Windows.Media.Color
The color the first accent color. |
Accent2
Gets or sets the second accent color.
Declaration
public Color Accent2 { get; set; }
Property Value
System.Windows.Media.Color
The color the second accent color. |
Accent3
Gets or sets the third accent color.
Declaration
public Color Accent3 { get; set; }
Property Value
System.Windows.Media.Color
The color the third accent color. |
Accent4
Gets or sets the fourth accent color.
Declaration
public Color Accent4 { get; set; }
Property Value
System.Windows.Media.Color
The color the fourth accent color. |
Accent5
Gets or sets the fifth accent color.
Declaration
public Color Accent5 { get; set; }
Property Value
System.Windows.Media.Color
The color the fifth accent color. |
Accent6
Gets or sets the sixth accent color.
Declaration
public Color Accent6 { get; set; }
Property Value
System.Windows.Media.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.Windows.Media.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.Windows.Media.Color
The color of the second background. |
CustomSchemes
Gets the custom schemes.
Declaration
protected override NamedObjects<ThemeColorScheme> CustomSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeColorScheme>
The custom schemes. |
Overrides
FollowedHyperlink
Gets or sets the followed hyperlink color.
Declaration
public Color FollowedHyperlink { get; set; }
Property Value
System.Windows.Media.Color
The followed hyperlink color. |
Hyperlink
Gets or sets the hyperlink color.
Declaration
public Color Hyperlink { get; set; }
Property Value
System.Windows.Media.Color
The hyperlink color. |
Text1
Gets or sets the color of the first text.
Declaration
public Color Text1 { get; set; }
Property Value
System.Windows.Media.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.Windows.Media.Color
The color of the second text. |
Methods
GenerateNewThemeScheme()
Generates the new theme scheme.
Declaration
protected override ThemeColorScheme GenerateNewThemeScheme()
Returns
Telerik.Documents.Common.Model.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. |
Telerik.Documents.Common.Model.ThemeColorScheme
scheme
The scheme. |