'Declaration Public Event CurrentChanging As DataGridCurrentChangingEventHandler
'Usage Dim instance As DataGridControl Dim handler As DataGridCurrentChangingEventHandler AddHandler instance.CurrentChanging, handler
public event DataGridCurrentChangingEventHandler CurrentChanging
Event Data
The event handler receives an argument of type DataGridCurrentChangingEventArgs containing data related to this event. The following DataGridCurrentChangingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value that allows the routed event to be canceled. (Inherited from Xceed.Wpf.DataGrid.CancelRoutedEventArgs) |
Handled | (Inherited from ) |
IsCancelable | Gets a value indicating whether the current visual row change is cancelable. |
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 ) |
Remarks
This event allows the visual row change to be canceled.
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