ClassStylePropertyChangeEventArgs
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
StylePropertyChangeEventArgs(IStylePropertyDefinition, object, object)
Initializes a new instance of the StylePropertyChangeEventArgs class with the specified property definition, old value, and new value.
Declaration
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue)
Parameters
propertyDefinition
The definition of the style property that has changed.
oldValue
The value of the property before the change occurred.
newValue
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
public StylePropertyChangeEventArgs(IStylePropertyDefinition propertyDefinition, object oldValue, object newValue, ConditionalTableStyleTypes conditionalTableStyleType)
Parameters
propertyDefinition
The definition of the style property that has changed.
oldValue
The value of the property before the change occurred.
newValue
The value of the property after the change occurred.
conditionalTableStyleType
The conditional table style type associated with the property change.
Properties
NewValue
Represents the new value of the style property that has changed.
Declaration
public object NewValue { get; }
Property Value
The new value associated with the style property change event.
OldValue
Gets the old value of the style property before the change occurred.
Declaration
public object OldValue { get; }
Property Value
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
public IStylePropertyDefinition PropertyDefinition { get; }
Property Value