New to Telerik UI for WPFStart a free 30-day trial

Represents a manager for the RadSpreadsheet themes.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Theming

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class RadSpreadsheetThemesManager : IWeakEventListener

Inheritance: objectRadSpreadsheetThemesManager

Implements: IWeakEventListener

Properties

BuiltInColorSchemes

NamedObjects<ThemeColorScheme>

Gets the built-in color schemes.

C#
public NamedObjects<ThemeColorScheme> BuiltInColorSchemes { get; }
Property Value:

The built-in color schemes.

BuiltInFontSchemes

NamedObjects<ThemeFontScheme>

Gets the built-in font schemes.

C#
public NamedObjects<ThemeFontScheme> BuiltInFontSchemes { get; }
Property Value:

The built-in font schemes.

CurrentColorScheme

ThemeColorScheme

Gets or sets the current color scheme.

C#
public ThemeColorScheme CurrentColorScheme { get; set; }
Property Value:

The current color scheme.

CurrentFontScheme

ThemeFontScheme

Gets or sets the current font scheme.

C#
public ThemeFontScheme CurrentFontScheme { get; set; }
Property Value:

The current font scheme.

CurrentTheme

DocumentTheme

Gets or sets the current theme.

C#
public DocumentTheme CurrentTheme { get; set; }
Property Value:

The current theme.

CustomColorSchemes

NamedObjects<ThemeColorScheme>

Gets the custom color schemes.

C#
public NamedObjects<ThemeColorScheme> CustomColorSchemes { get; }
Property Value:

The custom color schemes.

CustomFontSchemes

NamedObjects<ThemeFontScheme>

Gets the custom font schemes.

C#
public NamedObjects<ThemeFontScheme> CustomFontSchemes { get; }
Property Value:

The custom font schemes.

Themes

NamedObjects<DocumentTheme>

Gets the themes.

C#
public NamedObjects<DocumentTheme> Themes { get; }
Property Value:

The themes.

Methods

Called when current theme is changed.

C#
protected virtual void OnCurrentThemeChanged()

Receives events from the centralized event manager.

C#
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters:managerTypeType

The type of the calling this method.

senderobject

Object that originated the event.

eEventArgs

Event data.

Returns:

bool

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.

C#
public event EventHandler CurrentColorSchemeChanged

Occurs when current font scheme is changed.

C#
public event EventHandler CurrentFontSchemeChanged

Occurs when current theme is changed.

C#
public event EventHandler CurrentThemeChanged