Class
StylePropertyBase

Represents a base class for style properties in the Telerik document model.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class StylePropertyBase

Inheritance: objectStylePropertyBase

Derived Classes: StyleProperty<TValue, TPropertyContainer>

Constructors

StylePropertyBase()

Declaration

cs-api-definition
protected StylePropertyBase()

Properties

PropertyDefinition

Represents the definition of a style property, containing information about its type, default value, and how it can be used within a style.

Declaration

cs-api-definition
public abstract IStylePropertyDefinition PropertyDefinition { get; }

Property Value

IStylePropertyDefinition

ValueSource

Gets the source of the value for the style property.

Declaration

cs-api-definition
public abstract RadValueSource ValueSource { get; }

Property Value

RadValueSource

Methods

ClearValue()

Clears the value of the style property, resetting it to its default state.

Declaration

cs-api-definition
public abstract void ClearValue()

HasLocalValue()

Determines whether the style property has a local value set.

Declaration

cs-api-definition
public abstract bool HasLocalValue()

Returns

bool

True if the style property has a local value; otherwise, false.