Class StylePropertyChangeEventArgs
Provides data for the style property change events.
Inheritance
Namespace: Telerik.Windows.Documents.Model.Styles
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class StylePropertyChangeEventArgs : EventArgs
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
IStylePropertyDefinition
propertyDefinition
The definition of the style property that has changed. |
System.Object
oldValue
The value of the property before the change occurred. |
System.Object
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
IStylePropertyDefinition
propertyDefinition
The definition of the style property that has changed. |
System.Object
oldValue
The value of the property before the change occurred. |
System.Object
newValue
The value of the property after the change occurred. |
ConditionalTableStyleTypes
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
System.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
public object OldValue { get; }
Property Value
System.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
public IStylePropertyDefinition PropertyDefinition { get; }
Property Value
IStylePropertyDefinition
|