Class CreateNewThemeFontsDialogContext
Represents context for the CreateNewThemeFontsDialog.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class CreateNewThemeFontsDialogContext : CreateNewThemeItemDialogContextBase<ThemeFontScheme>
Constructors
CreateNewThemeFontsDialogContext(RadSpreadsheet, ThemeFontScheme)
Initializes a new instance of the CreateNewThemeFontsDialogContext class.
Declaration
public CreateNewThemeFontsDialogContext(RadSpreadsheet radSpreadsheet, ThemeFontScheme schemeToEdit = null)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Documents.Common.Model.ThemeFontScheme
schemeToEdit
The scheme to edit. |
Properties
CustomSchemes
Gets the custom schemes.
Declaration
protected override NamedObjects<ThemeFontScheme> CustomSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeFontScheme>
The custom schemes. |
Overrides
Major
Gets or sets the font family of the headings.
Declaration
public FontFamily Major { get; set; }
Property Value
System.Windows.Media.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
System.Windows.Media.FontFamily
The font family of the body. |
Methods
GenerateNewThemeScheme()
Generates the new theme scheme.
Declaration
protected override ThemeFontScheme GenerateNewThemeScheme()
Returns
Telerik.Documents.Common.Model.ThemeFontScheme
The new theme scheme. |
Overrides
InitializeContext(String, ThemeFontScheme)
Initializes the context.
Declaration
protected override void InitializeContext(string schemeName, ThemeFontScheme scheme)
Parameters
System.String
schemeName
Name of the scheme. |
Telerik.Documents.Common.Model.ThemeFontScheme
scheme
The scheme. |