Class RadSpreadsheetThemesManager
Represents a manager for the RadSpreadsheet themes.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Theming
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class RadSpreadsheetThemesManager : Object, IWeakEventListener
Properties
BuiltInColorSchemes
Gets the built-in color schemes.
Declaration
public NamedObjects<ThemeColorScheme> BuiltInColorSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeColorScheme>
The built-in color schemes. |
BuiltInFontSchemes
Gets the built-in font schemes.
Declaration
public NamedObjects<ThemeFontScheme> BuiltInFontSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeFontScheme>
The built-in font schemes. |
CurrentColorScheme
Gets or sets the current color scheme.
Declaration
public ThemeColorScheme CurrentColorScheme { get; set; }
Property Value
Telerik.Documents.Common.Model.ThemeColorScheme
The current color scheme. |
CurrentFontScheme
Gets or sets the current font scheme.
Declaration
public ThemeFontScheme CurrentFontScheme { get; set; }
Property Value
Telerik.Documents.Common.Model.ThemeFontScheme
The current font scheme. |
CurrentTheme
Gets or sets the current theme.
Declaration
public DocumentTheme CurrentTheme { get; set; }
Property Value
Telerik.Documents.Common.Model.DocumentTheme
The current theme. |
CustomColorSchemes
Gets the custom color schemes.
Declaration
public NamedObjects<ThemeColorScheme> CustomColorSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeColorScheme>
The custom color schemes. |
CustomFontSchemes
Gets the custom font schemes.
Declaration
public NamedObjects<ThemeFontScheme> CustomFontSchemes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeFontScheme>
The custom font schemes. |
Themes
Gets the themes.
Declaration
public NamedObjects<DocumentTheme> Themes { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.DocumentTheme>
The themes. |
Methods
OnCurrentThemeChanged()
Called when current theme is changed.
Declaration
protected virtual void OnCurrentThemeChanged()
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
System.Type
managerType
The type of the System.Windows.WeakEventManager calling this method. |
System.Object
sender
Object that originated the event. |
System.EventArgs
e
Event data. |
Returns
System.Boolean
true if the listener handled the event. It is considered an error by the System.Windows.WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle. |
Events
CurrentColorSchemeChanged
Occurs when current color scheme is changed.
Declaration
public event EventHandler CurrentColorSchemeChanged
Event Type
System.EventHandler
|
CurrentFontSchemeChanged
Occurs when current font scheme is changed.
Declaration
public event EventHandler CurrentFontSchemeChanged
Event Type
System.EventHandler
|
CurrentThemeChanged
Occurs when current theme is changed.
Declaration
public event EventHandler CurrentThemeChanged
Event Type
System.EventHandler
|