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

Provides data for the CurrentChanged event that occurs when the current item in a data collection changes.

CurrentChangedEventArgs is used in data binding scenarios to provide information about why the current item position changed within a collection. This is essential for tracking navigation events in data-bound controls.

The Reason property indicates whether the change was due to user navigation, programmatic changes, data refresh, or other collection manipulation operations.

Definition

Namespace:Telerik.WinControls.Data

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class CurrentChangedEventArgs : EventArgs

Inheritance: objectEventArgsCurrentChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CurrentChangedEventArgs class with the specified reason for the change.

C#
public CurrentChangedEventArgs(CurrentChangeReason reason)
Parameters:reasonCurrentChangeReason

A CurrentChangeReason value indicating why the current item changed.

Properties

Gets the reason why the current item in the collection changed.

C#
public CurrentChangeReason Reason { get; }
Property Value:

A CurrentChangeReason value indicating the cause of the current item change.