New to Telerik UI for WinForms? Start a free 30-day trial

Provides the property identity and values associated with a style-property change notification.

Definition

Namespace:Telerik.WinForms.Documents.Model.Styles

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class StylePropertyChangeEventArgs : EventArgs

Inheritance: objectEventArgsStylePropertyChangeEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data for a change associated with a conditional table-style region.

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

The definition of the changed property.

oldValueobject

The value before the change.

newValueobject

The effective value after the change.

conditionalTableStyleTypeConditionalTableStyleTypes

The conditional table-style region associated with the change.

Creates event data for a style-property value change.

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

The definition of the changed property.

oldValueobject

The value before the change.

newValueobject

The effective value after the change.

Properties

Gets the effective property value after the change.

C#
public object NewValue { get; }

Gets the property value before the change.

C#
public object OldValue { get; }

Gets the definition of the property that changed.

C#
public IStylePropertyDefinition PropertyDefinition { get; }