ClassCreateNewThemeFontsDialogContext
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
CreateNewThemeFontsDialogContext(RadSpreadsheet, ThemeFontScheme)
Initializes a new instance of the CreateNewThemeFontsDialogContext class.
Declaration
public CreateNewThemeFontsDialogContext(RadSpreadsheet radSpreadsheet, ThemeFontScheme schemeToEdit = null)
Parameters
radSpreadsheet
The RadSpreadsheet.
schemeToEdit
ThemeFontScheme
The scheme to edit.
Properties
CustomSchemes
Gets the custom schemes.
Declaration
protected override NamedObjects<ThemeFontScheme> CustomSchemes { get; }
Property Value
NamedObjects<ThemeFontScheme>
The custom schemes.
Overrides
Major
Gets or sets the font family of the headings.
Declaration
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
public FontFamily Minor { get; set; }
Property Value
FontFamily
The font family of the body.
Methods
GenerateNewThemeScheme()
Generates the new theme scheme.
Declaration
protected override ThemeFontScheme GenerateNewThemeScheme()
Returns
ThemeFontScheme
The new theme scheme.
Overrides
InitializeContext(string, ThemeFontScheme)
Initializes the context.
Declaration
protected override void InitializeContext(string schemeName, ThemeFontScheme scheme)
Parameters
schemeName
Name of the scheme.
scheme
ThemeFontScheme
The scheme.
Overrides