Represents context for the CreateNewThemeFontsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CreateNewThemeFontsDialogContext : CreateNewThemeItemDialogContextBase<ThemeFontScheme>
Inheritance: objectRadSpreadsheetDialogContextCreateNewThemeItemDialogContextBase<ThemeFontScheme>CreateNewThemeFontsDialogContext
Inherited Members
Constructors
Initializes a new instance of the CreateNewThemeFontsDialogContext class.
public CreateNewThemeFontsDialogContext(RadSpreadsheet radSpreadsheet, ThemeFontScheme schemeToEdit = null)
The RadSpreadsheet.
schemeToEditThemeFontSchemeThe scheme to edit.
Properties
CustomSchemes
NamedObjects<ThemeFontScheme>
Gets the custom schemes.
protected override NamedObjects<ThemeFontScheme> CustomSchemes { get; }
The custom schemes.
Overrides:
Major
FontFamily
Gets or sets the font family of the headings.
public FontFamily Major { get; set; }
The font family of the headings.
Minor
FontFamily
Gets or sets the font family of the body.
public FontFamily Minor { get; set; }
The font family of the body.
Methods
GenerateNewThemeScheme()
ThemeFontScheme
Generates the new theme scheme.
protected override ThemeFontScheme GenerateNewThemeScheme()
ThemeFontScheme
The new theme scheme.
Overrides:
Initializes the context.
protected override void InitializeContext(string schemeName, ThemeFontScheme scheme)
Name of the scheme.
schemeThemeFontSchemeThe scheme.
Overrides: