New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class StylePropertyBase

Inheritance: objectStylePropertyBase

Derived Classes: StyleProperty<TValue, TPropertyContainer>

Constructors

C#
protected StylePropertyBase()

Properties

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

C#
public abstract IStylePropertyDefinition PropertyDefinition { get; }

Gets the source of the value for the style property.

C#
public abstract RadValueSource ValueSource { get; }

Methods

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

C#
public abstract void ClearValue()

Determines whether the style property has a local value set.

C#
public abstract bool HasLocalValue()
Returns:

bool

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