Interface IThemableObject<T>
Contract for values that can come from a theme or a local override and be resolved against a DocumentTheme.
Namespace: Telerik.Windows.Documents.Spreadsheet.Theming
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public interface IThemableObject<T>
Type Parameters
|
T
|
Properties
IsFromTheme
Gets whether the value originates from the current theme rather than a local override.
Declaration
bool IsFromTheme { get; }
Property Value
|
System.Boolean
The value indicating if the instance is from a theme. |
LocalValue
Gets the locally specified value, used when not resolved from the theme.
Declaration
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
T GetActualValue(DocumentTheme theme)
Parameters
|
DocumentTheme
theme
The theme. |
Returns
|
T
The actual value. |