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

Provides the position and previous and new values for a value-change notification.

Definition

Namespace:Telerik.WinControls.UI.Data

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ValueChangedEventArgs : PositionChangedEventArgs

Inheritance: objectEventArgsPositionChangedEventArgsValueChangedEventArgs

Inherited Members PositionChangedEventArgs.PositionEventArgs.Empty

Constructors

Initializes event data for a value change at the specified position.

C#
public ValueChangedEventArgs(int newIndex, object newValue, object oldValue)
Parameters:newIndexint

The position associated with the change.

newValueobject

The value after the change.

oldValueobject

The value before the change.

Properties

Gets the value after the change.

C#
public object NewValue { get; }

Gets the value before the change.

C#
public object OldValue { get; }