Represents a manager for the RadSpreadsheetElement themes.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Theming
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class RadSpreadsheetThemesManager : IWeakEventListener
Inheritance: objectRadSpreadsheetThemesManager
Implements:
Properties
Gets the built-in color schemes.
public NamedObjects<ThemeColorScheme> BuiltInColorSchemes { get; }
The built-in color schemes.
Gets the built-in font schemes.
public NamedObjects<ThemeFontScheme> BuiltInFontSchemes { get; }
The built-in font schemes.
Gets or sets the current color scheme.
public ThemeColorScheme CurrentColorScheme { get; set; }
The current color scheme.
Gets or sets the current font scheme.
public ThemeFontScheme CurrentFontScheme { get; set; }
The current font scheme.
Gets or sets the current theme.
public DocumentTheme CurrentTheme { get; set; }
The current theme.
Gets the custom color schemes.
public NamedObjects<ThemeColorScheme> CustomColorSchemes { get; }
The custom color schemes.
Gets the custom font schemes.
public NamedObjects<ThemeFontScheme> CustomFontSchemes { get; }
The custom font schemes.
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 WeakEventManager 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 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.
Implements:
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