New to Telerik UI for WinForms? Start a free 30-day trial

Represents a theme.

Definition

Namespace:Telerik.WinForms.Documents.Spreadsheet.Theming

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DocumentTheme : NamedObjectBase, INamedObject

Inheritance: objectNamedObjectBaseDocumentTheme

Implements: INamedObject

Inherited Members NamedObjectBase.Name

Constructors

Initializes a new instance of the DocumentTheme class.

C#
public DocumentTheme(string name, ThemeColorScheme colorScheme, ThemeFontScheme fontScheme)
Parameters:namestring

The name.

colorSchemeThemeColorScheme

The color scheme.

fontSchemeThemeFontScheme

The font scheme.

Properties

Gets the color scheme.

C#
public ThemeColorScheme ColorScheme { get; }
Property Value:

The color scheme.

Gets the font scheme.

C#
public ThemeFontScheme FontScheme { get; }
Property Value:

The font scheme.

Methods

Creates deep copy of this document theme.

C#
public DocumentTheme Clone()
Returns:

DocumentTheme

The cloned document theme.

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()