Class CreateNewThemeFontsDialogContext
Represents context for the CreateNewThemeFontsDialog.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CreateNewThemeFontsDialogContext : CreateNewThemeItemDialogContextBase<ThemeFontScheme>
Constructors
CreateNewThemeFontsDialogContext(RadSpreadsheetElement, ThemeFontScheme)
Initializes a new instance of the CreateNewThemeFontsDialogContext class.
Declaration
public CreateNewThemeFontsDialogContext(RadSpreadsheetElement radSpreadsheet, ThemeFontScheme schemeToEdit = null)
Parameters
RadSpreadsheetElement
radSpreadsheet
The RadSpreadsheet. |
ThemeFontScheme
schemeToEdit
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
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
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. |
ThemeFontScheme
scheme
The scheme. |