Class
CreateNewThemeColorsDialogContext

Represents context for the CreateNewThemeColorsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CreateNewThemeColorsDialogContext : CreateNewThemeItemDialogContextBase<ThemeColorScheme>

Inheritance: objectRadSpreadsheetDialogContextCreateNewThemeItemDialogContextBase<ThemeColorScheme>CreateNewThemeColorsDialogContext

Inherited Members CreateNewThemeItemDialogContextBase<ThemeColorScheme>.ApplyChanges()CreateNewThemeItemDialogContextBase<ThemeColorScheme>.GetNextFreeThemeSchemeName(string, NamedObjects<ThemeColorScheme>)CreateNewThemeItemDialogContextBase<ThemeColorScheme>.SchemeNameCreateNewThemeItemDialogContextBase<ThemeColorScheme>.SchemeToEditCreateNewThemeItemDialogContextBase<ThemeColorScheme>.OriginalSchemeNameRadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

CreateNewThemeColorsDialogContext(RadSpreadsheet, ThemeColorScheme)

Initializes a new instance of the CreateNewThemeColorsDialogContext class.

Declaration

cs-api-definition
public CreateNewThemeColorsDialogContext(RadSpreadsheet radSpreadsheet, ThemeColorScheme schemeToEdit = null)

Parameters

radSpreadsheet

RadSpreadsheet

The RadSpreadsheet.

schemeToEdit

ThemeColorScheme

The scheme to edit.

Properties

Accent1

Gets or sets the first accent color.

Declaration

cs-api-definition
public Color Accent1 { get; set; }

Property Value

Color

The color the first accent color.

Accent2

Gets or sets the second accent color.

Declaration

cs-api-definition
public Color Accent2 { get; set; }

Property Value

Color

The color the second accent color.

Accent3

Gets or sets the third accent color.

Declaration

cs-api-definition
public Color Accent3 { get; set; }

Property Value

Color

The color the third accent color.

Accent4

Gets or sets the fourth accent color.

Declaration

cs-api-definition
public Color Accent4 { get; set; }

Property Value

Color

The color the fourth accent color.

Accent5

Gets or sets the fifth accent color.

Declaration

cs-api-definition
public Color Accent5 { get; set; }

Property Value

Color

The color the fifth accent color.

Accent6

Gets or sets the sixth accent color.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public Color Background2 { get; set; }

Property Value

Color

The color of the second background.

CustomSchemes

Gets the custom schemes.

Declaration

cs-api-definition
protected override NamedObjects<ThemeColorScheme> CustomSchemes { get; }

Property Value

NamedObjects<ThemeColorScheme>

The custom schemes.

Overrides CreateNewThemeItemDialogContextBase<ThemeColorScheme>.CustomSchemes

Gets or sets the followed hyperlink color.

Declaration

cs-api-definition
public Color FollowedHyperlink { get; set; }

Property Value

Color

The followed hyperlink color.

Gets or sets the hyperlink color.

Declaration

cs-api-definition
public Color Hyperlink { get; set; }

Property Value

Color

The hyperlink color.

Text1

Gets or sets the color of the first text.

Declaration

cs-api-definition
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

cs-api-definition
public Color Text2 { get; set; }

Property Value

Color

The color of the second text.

Methods

GenerateNewThemeScheme()

Generates the new theme scheme.

Declaration

cs-api-definition
protected override ThemeColorScheme GenerateNewThemeScheme()

Returns

ThemeColorScheme

The new theme scheme.

Overrides CreateNewThemeItemDialogContextBase<ThemeColorScheme>.GenerateNewThemeScheme()

InitializeContext(string, ThemeColorScheme)

Initializes the context.

Declaration

cs-api-definition
protected override void InitializeContext(string schemeName, ThemeColorScheme scheme)

Parameters

schemeName

string

Name of the scheme.

scheme

ThemeColorScheme

The scheme.

Overrides CreateNewThemeItemDialogContextBase<ThemeColorScheme>.InitializeContext(string, ThemeColorScheme)