Represents base for the context of the create new theme colors and fonts dialogs.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Type Parameters:
T
Syntax:
public abstract class CreateNewThemeItemDialogContextBase<T> : RadSpreadsheetDialogContext where T : NamedObjectBase
Inheritance: objectRadSpreadsheetDialogContextCreateNewThemeItemDialogContextBase<T>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the class.
protected CreateNewThemeItemDialogContextBase(RadSpreadsheet radSpreadsheet, T schemeToEdit = default)
The RAD spreadsheet.
schemeToEditTThe scheme to edit.
Properties
CustomSchemes
NamedObjects<T>
Gets the custom schemes.
protected abstract NamedObjects<T> CustomSchemes { get; }
The custom schemes.
Gets or sets the name of the original scheme.
protected string OriginalSchemeName { get; set; }
The name of the original scheme.
Gets or sets the name of the scheme.
public string SchemeName { get; set; }
The name of the scheme.
Gets the scheme to edit.
protected T SchemeToEdit { get; }
The scheme to edit.
Methods
Applies the changes.
public void ApplyChanges()
Generates the new theme scheme.
protected abstract T GenerateNewThemeScheme()
T
The new theme scheme.
Initializes the context.
protected abstract void InitializeContext(string schemeName, T scheme)
Name of the scheme.
schemeTThe scheme.