Class
StylePropertyChangeEventArgs

Provides data for the style property change events.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class StylePropertyChangeEventArgs : EventArgs

Inheritance: objectEventArgsStylePropertyChangeEventArgs

Inherited Members EventArgs.Empty

Constructors

StylePropertyChangeEventArgs(IStylePropertyDefinition, object, object)

Initializes a new instance of the StylePropertyChangeEventArgs class with the specified property definition, old value, and new value.

Declaration

cs-api-definition
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue)

Parameters

propertyDefinition

IStylePropertyDefinition

The definition of the style property that has changed.

oldValue

object

The value of the property before the change occurred.

newValue

object

The value of the property after the change occurred.

StylePropertyChangeEventArgs(IStylePropertyDefinition, object, object, ConditionalTableStyleTypes)

Initializes a new instance of the StylePropertyChangeEventArgs class with the specified property definition, old value, new value, and conditional table style type.

Declaration

cs-api-definition
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue, ConditionalTableStyleTypes conditionalTableStyleType)

Parameters

propertyDefinition

IStylePropertyDefinition

The definition of the style property that has changed.

oldValue

object

The value of the property before the change occurred.

newValue

object

The value of the property after the change occurred.

conditionalTableStyleType

ConditionalTableStyleTypes

The conditional table style type associated with the property change.

Properties

NewValue

Represents the new value of the style property that has changed.

Declaration

cs-api-definition
public object NewValue { get; }

Property Value

object

The new value associated with the style property change event.

OldValue

Gets the old value of the style property before the change occurred.

Declaration

cs-api-definition
public object OldValue { get; }

Property Value

object

The old value of the style property, which can be of any type.

PropertyDefinition

Provides information about a change to a style property, including the property's definition.

Declaration

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

Property Value

IStylePropertyDefinition