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

Carries the old and new values reported by a style-change command.

Definition

Namespace:Telerik.WinForms.Documents.RichTextBoxCommands

Assembly:Telerik.WinControls.RichTextEditor.dll

Type Parameters:

T

The type of the style value.

Syntax:

C#
public class StylePropertyChangedEventArgs<T> : EventArgs

Inheritance: objectEventArgsStylePropertyChangedEventArgs<T>

Inherited Members EventArgs.Empty

Constructors

Initializes event data with the old and new values reported by a command.

C#
public StylePropertyChangedEventArgs(T oldValue, T newValue)
Parameters:oldValueT

The value to report as the old value.

newValueT

The value to report as the new value.

Properties

Gets the value supplied by the command as the new value.

C#
public T NewValue { get; }

Gets the value supplied by the command as the old value.

C#
public T OldValue { get; }