ClassCreateNewThemeItemDialogContextBase<T>
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
CreateNewThemeItemDialogContextBase(RadSpreadsheet, T)
Initializes a new instance of the class.
Declaration
protected CreateNewThemeItemDialogContextBase(RadSpreadsheet radSpreadsheet, T schemeToEdit = default)
Parameters
radSpreadsheet
The RAD spreadsheet.
schemeToEdit
T
The scheme to edit.
Properties
CustomSchemes
Gets the custom schemes.
Declaration
protected abstract NamedObjects<T> CustomSchemes { get; }
Property Value
NamedObjects<T>
The custom schemes.
OriginalSchemeName
Gets or sets the name of the original scheme.
Declaration
protected string OriginalSchemeName { get; set; }
Property Value
The name of the original scheme.
SchemeName
Gets or sets the name of the scheme.
Declaration
public string SchemeName { get; set; }
Property Value
The name of the scheme.
SchemeToEdit
Gets the scheme to edit.
Declaration
protected T SchemeToEdit { get; }
Property Value
T
The scheme to edit.
Methods
GenerateNewThemeScheme()
Generates the new theme scheme.
Declaration
protected abstract T GenerateNewThemeScheme()
Returns
T
The new theme scheme.
GetNextFreeThemeSchemeName(string, NamedObjects<T>)
Gets the name of the next free theme scheme.
InitializeContext(string, T)
Initializes the context.
Declaration
protected abstract void InitializeContext(string schemeName, T scheme)
Parameters
schemeName
Name of the scheme.
scheme
T
The scheme.