Interface
IStylePropertyDefinition

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:

cs-api-definition
public interface IStylePropertyDefinition

Properties

PropertyName

Gets the display name of this property, used for identification and diagnostics.

Declaration

cs-api-definition
string PropertyName { get; }

Property Value

string

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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
object GetDefaultValueAsObject()

Returns

object