Represents a manager for the RadSpreadsheet themes.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Theming
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class RadSpreadsheetThemesManager : IWeakEventListener
Inheritance: objectRadSpreadsheetThemesManager
Implements:
Properties
BuiltInColorSchemes
NamedObjects<ThemeColorScheme>
Gets the built-in color schemes.
public NamedObjects<ThemeColorScheme> BuiltInColorSchemes { get; }
The built-in color schemes.
BuiltInFontSchemes
NamedObjects<ThemeFontScheme>
Gets the built-in font schemes.
public NamedObjects<ThemeFontScheme> BuiltInFontSchemes { get; }
The built-in font schemes.
CurrentColorScheme
ThemeColorScheme
Gets or sets the current color scheme.
public ThemeColorScheme CurrentColorScheme { get; set; }
The current color scheme.
CurrentFontScheme
ThemeFontScheme
Gets or sets the current font scheme.
public ThemeFontScheme CurrentFontScheme { get; set; }
The current font scheme.
CurrentTheme
DocumentTheme
Gets or sets the current theme.
public DocumentTheme CurrentTheme { get; set; }
The current theme.
CustomColorSchemes
NamedObjects<ThemeColorScheme>
Gets the custom color schemes.
public NamedObjects<ThemeColorScheme> CustomColorSchemes { get; }
The custom color schemes.
CustomFontSchemes
NamedObjects<ThemeFontScheme>
Gets the custom font schemes.
public NamedObjects<ThemeFontScheme> CustomFontSchemes { get; }
The custom font schemes.
Themes
NamedObjects<DocumentTheme>
Gets the themes.
public NamedObjects<DocumentTheme> Themes { get; }
The themes.
Methods
Called when current theme is changed.
protected virtual void OnCurrentThemeChanged()
Receives events from the centralized event manager.
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
The type of the calling this method.
senderobjectObject that originated the event.
eEventArgsEvent data.
Returns:true if the listener handled the event. It is considered an error by the 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
Occurs when current color scheme is changed.
public event EventHandler CurrentColorSchemeChanged
Occurs when current font scheme is changed.
public event EventHandler CurrentFontSchemeChanged
Occurs when current theme is changed.
public event EventHandler CurrentThemeChanged