InterfaceIStylePropertyDefinition
Defines the contract for style property metadata used in property resolution and inheritance chains within the document styling system.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Styles.Core
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public interface IStylePropertyDefinition
Properties
PropertyName
Gets the display name of this property, used for identification and diagnostics.
Declaration
string PropertyName { get; }
Property Value
The name of the property.
StylePropertyType
Gets the category of this style property, indicating whether it applies to paragraphs, characters, tables, or other style contexts.
Declaration
StylePropertyType StylePropertyType { get; }
Property Value
The type of the style property.
Validation
Gets the validation rules applied to values of this property, ensuring they meet constraints before assignment.
Declaration
StylePropertyValidation Validation { get; }
Property Value
The validation.
Methods
GetDefaultValueAsObject()
Retrieves the default value for this property as an untyped object, used when no explicit value is set in the inheritance chain.