IStyleProperty
Defines the base contract for style properties, providing untyped access to values and metadata for use in property collections and reflection scenarios.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles.Core
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public interface IStyleProperty
Methods
Removes the locally assigned value, allowing the property to inherit from styles or document defaults.
void ClearValue()
Resolves the effective value through the inheritance chain and returns it as an untyped object.
Retrieves the directly assigned value as an untyped object, or null if no local value is set.
Assigns a local value from an untyped object, applying validation rules before storing.
Properties
Gets whether a value has been directly assigned to this property, as opposed to being inherited from styles or defaults.
bool HasLocalValue { get; }
The has local value.
Gets the metadata definition for this property, including its type, name, validation rules, and default value.
IStylePropertyDefinition PropertyDefinition { get; }
The property definition.