IThemableObject<T>
Interface
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:
Methods
Resolve the effective value using the provided theme, accounting for theme or local settings.
C#
T GetActualValue(DocumentTheme theme)
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; }
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; }
The local value.