New to Telerik Document ProcessingStart a free 30-day trial

Contract for values that can come from a theme or a local override and be resolved against a DocumentTheme.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Theming

Assembly:Telerik.Windows.Documents.Core.dll

Type Parameters:

T

Syntax:

C#
public interface IThemableObject<T>

Derived Classes: ThemableColorThemableFontFamily

Methods

Resolve the effective value using the provided theme, accounting for theme or local settings.

C#
T GetActualValue(DocumentTheme theme)
Parameters:themeDocumentTheme

The theme.

Returns:

T

The actual value.

Properties

Gets whether the value originates from the current theme rather than a local override.

C#
bool IsFromTheme { get; }
Property Value:

The value indicating if the instance is from a theme.

Gets the locally specified value, used when not resolved from the theme.

C#
T LocalValue { get; }
Property Value:

The local value.