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:
public class CurrentChangedEventArgs : EventArgs
Inheritance: objectEventArgsCurrentChangedEventArgs
Inherited Members
Constructors
Initializes a new instance of the CurrentChangedEventArgs class with the specified reason for the change.
public CurrentChangedEventArgs(CurrentChangeReason reason)
A CurrentChangeReason value indicating why the current item changed.
Properties
Gets the reason why the current item in the collection changed.
public CurrentChangeReason Reason { get; }
A CurrentChangeReason value indicating the cause of the current item change.