New to Telerik UI for WPFStart a free 30-day trial

Represents context for the CreateNewThemeColorsDialog.

Definition

Constructors

Initializes a new instance of the CreateNewThemeColorsDialogContext class.

C#
public CreateNewThemeColorsDialogContext(RadSpreadsheet radSpreadsheet, ThemeColorScheme schemeToEdit = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

schemeToEditThemeColorScheme

The scheme to edit.

Properties

Accent1

Color

Gets or sets the first accent color.

C#
public Color Accent1 { get; set; }
Property Value:

The color the first accent color.

Accent2

Color

Gets or sets the second accent color.

C#
public Color Accent2 { get; set; }
Property Value:

The color the second accent color.

Accent3

Color

Gets or sets the third accent color.

C#
public Color Accent3 { get; set; }
Property Value:

The color the third accent color.

Accent4

Color

Gets or sets the fourth accent color.

C#
public Color Accent4 { get; set; }
Property Value:

The color the fourth accent color.

Accent5

Color

Gets or sets the fifth accent color.

C#
public Color Accent5 { get; set; }
Property Value:

The color the fifth accent color.

Accent6

Color

Gets or sets the sixth accent color.

C#
public Color Accent6 { get; set; }
Property Value:

The color the sixth accent color.

Gets or sets the color of the first background.

C#
public Color Background1 { get; set; }
Property Value:

The color of the first background.

Gets or sets the color of the second background.

C#
public Color Background2 { get; set; }
Property Value:

The color of the second background.

CustomSchemes

NamedObjects<ThemeColorScheme>

Gets the custom schemes.

C#
protected override NamedObjects<ThemeColorScheme> CustomSchemes { get; }
Property Value:

The custom schemes.

Overrides: CreateNewThemeItemDialogContextBase<ThemeColorScheme>.CustomSchemes

Gets or sets the followed hyperlink color.

C#
public Color FollowedHyperlink { get; set; }
Property Value:

The followed hyperlink color.

Gets or sets the hyperlink color.

C#
public Color Hyperlink { get; set; }
Property Value:

The hyperlink color.

Text1

Color

Gets or sets the color of the first text.

C#
public Color Text1 { get; set; }
Property Value:

The color of the first text.

Text2

Color

Gets or sets the color of the second text.

C#
public Color Text2 { get; set; }
Property Value:

The color of the second text.

Methods

GenerateNewThemeScheme()

ThemeColorScheme

Generates the new theme scheme.

C#
protected override ThemeColorScheme GenerateNewThemeScheme()
Returns:

ThemeColorScheme

The new theme scheme.

Overrides: CreateNewThemeItemDialogContextBase<ThemeColorScheme>.GenerateNewThemeScheme()

Initializes the context.

C#
protected override void InitializeContext(string schemeName, ThemeColorScheme scheme)
Parameters:schemeNamestring

Name of the scheme.

schemeThemeColorScheme

The scheme.

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