Syncfusion.Grid.Windows


CurrentCellActivating Event (GridControlBase)

Occurs before the grid activates the specified cell as current cell.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Occurs before the grid activates the specified cell as current cell.")>
Public Event CurrentCellActivating As GridCurrentCellActivatingEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As GridCurrentCellActivatingEventHandler
 
AddHandler instance.CurrentCellActivating, handler
[Category("Behavior")]
[Description("Occurs before the grid activates the specified cell as current cell.")]
public event GridCurrentCellActivatingEventHandler CurrentCellActivating
Event Data

The event handler receives an argument of type GridCurrentCellActivatingEventArgs containing data related to this event. The following GridCurrentCellActivatingEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets or sets the column index.  
Gets or sets the options specified for the GridCurrentCell.MoveTo operation.  
Gets or sets the row index.  
Remarks
You can disallow the activation of specific cells at run-time when you assign True to System.ComponentModel.CancelEventArgs.Cancel.

You can modify the GridCurrentCellActivatingEventArgs.RowIndex and GridCurrentCellActivatingEventArgs.ColIndex to activate a different cell.

You can determine if GridCurrentCell.Activate was called stand-alone or as result of a GridCurrentCell.MoveTo call by checking the GridCurrentCell.IsInMoveTo property.

Once the current cell has been activated, a CurrentCellActivated event is raised or a CurrentCellActivateFailed if activating the specified cell failed.

See GridCurrentCell.MoveTo for a discussion about the order of events that you receive when the current cell is moved.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also