Class CurrentChangedEventArgs
Provides data for the CurrentChanged event that occurs when the current item in a data collection changes.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class CurrentChangedEventArgs : EventArgs
Remarks
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.
Constructors
CurrentChangedEventArgs(CurrentChangeReason)
Initializes a new instance of the CurrentChangedEventArgs class with the specified reason for the change.
Declaration
public CurrentChangedEventArgs(CurrentChangeReason reason)
Parameters
CurrentChangeReason
reason
A CurrentChangeReason value indicating why the current item changed. |
Properties
Reason
Gets the reason why the current item in the collection changed.
Declaration
public CurrentChangeReason Reason { get; }
Property Value
CurrentChangeReason
A CurrentChangeReason value indicating the cause of the current item change. |