Xceed DataGrid for WPF v7.2 Documentation
CurrentChanging Event


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : CurrentChanging Event
Raised when the current visual row (any type that can be current) is about to change.
Syntax
'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.

PropertyDescription
Gets or sets a value that allows the routed event to be canceled. (Inherited from Xceed.Wpf.DataGrid.CancelRoutedEventArgs)
(Inherited from )
Gets a value indicating whether the current visual row change is cancelable.  
Gets the new current visual row.  
Gets the new DataGridContext.  
Gets the old current visual row.  
Gets the old DataGridContext.  
(Inherited from )
(Inherited from )
(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