Provides data for the style property change events.
Definition
Namespace:Telerik.Windows.Documents.Model.Styles
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class StylePropertyChangeEventArgs : EventArgs
Inheritance: objectEventArgsStylePropertyChangeEventArgs
Inherited Members
Constructors
Initializes a new instance of the StylePropertyChangeEventArgs class with the specified property definition, old value, new value, and conditional table style type.
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue, ConditionalTableStyleTypes conditionalTableStyleType)
The definition of the style property that has changed.
oldValueobjectThe value of the property before the change occurred.
newValueobjectThe value of the property after the change occurred.
conditionalTableStyleTypeConditionalTableStyleTypesThe 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.
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue)
The definition of the style property that has changed.
oldValueobjectThe value of the property before the change occurred.
newValueobjectThe value of the property after the change occurred.
Properties
Represents the new value of the style property that has changed.
public object NewValue { get; }
The new value associated with the style property change event.
Gets the old value of the style property before the change occurred.
public object OldValue { get; }
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.
public IStylePropertyDefinition PropertyDefinition { get; }