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