Class
RadSpreadsheetThemesManager

Represents a manager for the RadSpreadsheet themes.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Theming

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class RadSpreadsheetThemesManager : IWeakEventListener

Inheritance: objectRadSpreadsheetThemesManager

Implements: IWeakEventListener

Properties

BuiltInColorSchemes

Gets the built-in color schemes.

Declaration

cs-api-definition
public NamedObjects<ThemeColorScheme> BuiltInColorSchemes { get; }

Property Value

NamedObjects<ThemeColorScheme>

The built-in color schemes.

BuiltInFontSchemes

Gets the built-in font schemes.

Declaration

cs-api-definition
public NamedObjects<ThemeFontScheme> BuiltInFontSchemes { get; }

Property Value

NamedObjects<ThemeFontScheme>

The built-in font schemes.

CurrentColorScheme

Gets or sets the current color scheme.

Declaration

cs-api-definition
public ThemeColorScheme CurrentColorScheme { get; set; }

Property Value

ThemeColorScheme

The current color scheme.

CurrentFontScheme

Gets or sets the current font scheme.

Declaration

cs-api-definition
public ThemeFontScheme CurrentFontScheme { get; set; }

Property Value

ThemeFontScheme

The current font scheme.

CurrentTheme

Gets or sets the current theme.

Declaration

cs-api-definition
public DocumentTheme CurrentTheme { get; set; }

Property Value

DocumentTheme

The current theme.

CustomColorSchemes

Gets the custom color schemes.

Declaration

cs-api-definition
public NamedObjects<ThemeColorScheme> CustomColorSchemes { get; }

Property Value

NamedObjects<ThemeColorScheme>

The custom color schemes.

CustomFontSchemes

Gets the custom font schemes.

Declaration

cs-api-definition
public NamedObjects<ThemeFontScheme> CustomFontSchemes { get; }

Property Value

NamedObjects<ThemeFontScheme>

The custom font schemes.

Themes

Gets the themes.

Declaration

cs-api-definition
public NamedObjects<DocumentTheme> Themes { get; }

Property Value

NamedObjects<DocumentTheme>

The themes.

Methods

OnCurrentThemeChanged()

Called when current theme is changed.

Declaration

cs-api-definition
protected virtual void OnCurrentThemeChanged()

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

Declaration

cs-api-definition
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType

Type

The type of the calling this method.

sender

object

Object that originated the event.

e

EventArgs

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

CurrentColorSchemeChanged

Occurs when current color scheme is changed.

Declaration

cs-api-definition
public event EventHandler CurrentColorSchemeChanged

Event Value

EventHandler

CurrentFontSchemeChanged

Occurs when current font scheme is changed.

Declaration

cs-api-definition
public event EventHandler CurrentFontSchemeChanged

Event Value

EventHandler

CurrentThemeChanged

Occurs when current theme is changed.

Declaration

cs-api-definition
public event EventHandler CurrentThemeChanged

Event Value

EventHandler