'Declaration Public Event CurrentChanged As DataGridCurrentChangedEventHandler
'Usage Dim instance As DataGridControl Dim handler As DataGridCurrentChangedEventHandler AddHandler instance.CurrentChanged, handler
public event DataGridCurrentChangedEventHandler CurrentChanged
Event Data
The event handler receives an argument of type DataGridCurrentChangedEventArgs containing data related to this event. The following DataGridCurrentChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
NewCurrent | Gets the new current visual row. |
NewDataGridContext | Gets the new DataGridContext. |
OldCurrent | Gets the old current visual row. |
OldDataGridContext | Gets the old DataGridContext. |
OriginalSource | (Inherited from ) |
RoutedEvent | (Inherited from ) |
Source | (Inherited from ) |
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also