New to Telerik UI for WPFStart a free 30-day trial

Represents context for the CreateNewThemeFontsDialog.

Definition

Constructors

Initializes a new instance of the CreateNewThemeFontsDialogContext class.

C#
public CreateNewThemeFontsDialogContext(RadSpreadsheet radSpreadsheet, ThemeFontScheme schemeToEdit = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

schemeToEditThemeFontScheme

The scheme to edit.

Properties

CustomSchemes

NamedObjects<ThemeFontScheme>

Gets the custom schemes.

C#
protected override NamedObjects<ThemeFontScheme> CustomSchemes { get; }
Property Value:

The custom schemes.

Overrides: CreateNewThemeItemDialogContextBase<ThemeFontScheme>.CustomSchemes

Major

FontFamily

Gets or sets the font family of the headings.

C#
public FontFamily Major { get; set; }
Property Value:

The font family of the headings.

Minor

FontFamily

Gets or sets the font family of the body.

C#
public FontFamily Minor { get; set; }
Property Value:

The font family of the body.

Methods

Generates the new theme scheme.

C#
protected override ThemeFontScheme GenerateNewThemeScheme()
Returns:

ThemeFontScheme

The new theme scheme.

Overrides: CreateNewThemeItemDialogContextBase<ThemeFontScheme>.GenerateNewThemeScheme()

Initializes the context.

C#
protected override void InitializeContext(string schemeName, ThemeFontScheme scheme)
Parameters:schemeNamestring

Name of the scheme.

schemeThemeFontScheme

The scheme.

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