Interface IStylePropertyDefinition
Defines the contract for style property metadata used in property resolution and inheritance chains within the document styling system.
Namespace: Telerik.Windows.Documents.Flow.Model.Styles.Core
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public interface IStylePropertyDefinition
Properties
GlobalPropertyIndex
Gets the unique global index identifying this property across all style property definitions in the system.
Declaration
int GlobalPropertyIndex { get; }
Property Value
|
System.Int32
The global property index. |
PropertyName
Gets the display name of this property, used for identification and diagnostics.
Declaration
string PropertyName { get; }
Property Value
|
System.String
The name of the property. |
PropertyType
Gets the runtime type of the property value handled by this definition.
Declaration
Type PropertyType { get; }
Property Value
|
System.Type
The type 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
|
StylePropertyType
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
|
StylePropertyValidation
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.
Declaration
object GetDefaultValueAsObject()
Returns
|
System.Object
|