Interface
IThemableObject<T>

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:

cs-api-definition
public interface IThemableObject<T>

Properties

IsFromTheme

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

Declaration

cs-api-definition
bool IsFromTheme { get; }

Property Value

bool

The value indicating if the instance is from a theme.

LocalValue

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

Declaration

cs-api-definition
T LocalValue { get; }

Property Value

T

The local value.

Methods

GetActualValue(DocumentTheme)

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

Declaration

cs-api-definition
T GetActualValue(DocumentTheme theme)

Parameters

theme

DocumentTheme

The theme.

Returns

T

The actual value.