Class
CreateNewThemeFontsDialogContext

Represents context for the CreateNewThemeFontsDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CreateNewThemeFontsDialogContext : CreateNewThemeItemDialogContextBase<ThemeFontScheme>

Inheritance: objectRadSpreadsheetDialogContextCreateNewThemeItemDialogContextBase<ThemeFontScheme>CreateNewThemeFontsDialogContext

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

Constructors

CreateNewThemeFontsDialogContext(RadSpreadsheet, ThemeFontScheme)

Initializes a new instance of the CreateNewThemeFontsDialogContext class.

Declaration

cs-api-definition
public CreateNewThemeFontsDialogContext(RadSpreadsheet radSpreadsheet, ThemeFontScheme schemeToEdit = null)

Parameters

radSpreadsheet

RadSpreadsheet

The RadSpreadsheet.

schemeToEdit

ThemeFontScheme

The scheme to edit.

Properties

CustomSchemes

Gets the custom schemes.

Declaration

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

Property Value

NamedObjects<ThemeFontScheme>

The custom schemes.

Overrides CreateNewThemeItemDialogContextBase<ThemeFontScheme>.CustomSchemes

Major

Gets or sets the font family of the headings.

Declaration

cs-api-definition
public FontFamily Major { get; set; }

Property Value

FontFamily

The font family of the headings.

Minor

Gets or sets the font family of the body.

Declaration

cs-api-definition
public FontFamily Minor { get; set; }

Property Value

FontFamily

The font family of the body.

Methods

GenerateNewThemeScheme()

Generates the new theme scheme.

Declaration

cs-api-definition
protected override ThemeFontScheme GenerateNewThemeScheme()

Returns

ThemeFontScheme

The new theme scheme.

Overrides CreateNewThemeItemDialogContextBase<ThemeFontScheme>.GenerateNewThemeScheme()

InitializeContext(string, ThemeFontScheme)

Initializes the context.

Declaration

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

Parameters

schemeName

string

Name of the scheme.

scheme

ThemeFontScheme

The scheme.

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