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

Provides data for the style property change events.

Definition

Namespace:Telerik.Windows.Documents.Model.Styles

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class StylePropertyChangeEventArgs : EventArgs

Inheritance: objectEventArgsStylePropertyChangeEventArgs

Inherited Members EventArgs.Empty

Constructors

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

C#
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue, ConditionalTableStyleTypes conditionalTableStyleType)
Parameters:propertyDefinitionIStylePropertyDefinition

The definition of the style property that has changed.

oldValueobject

The value of the property before the change occurred.

newValueobject

The value of the property after the change occurred.

conditionalTableStyleTypeConditionalTableStyleTypes

The conditional table style type associated with the property change.

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

C#
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue)
Parameters:propertyDefinitionIStylePropertyDefinition

The definition of the style property that has changed.

oldValueobject

The value of the property before the change occurred.

newValueobject

The value of the property after the change occurred.

Properties

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

C#
public object NewValue { get; }
Property Value:

The new value associated with the style property change event.

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

C#
public object OldValue { get; }
Property Value:

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

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

C#
public IStylePropertyDefinition PropertyDefinition { get; }