Category / Section
How to select all the text on clicking the cell in WinForms GridControl?
Selection
In WinForms GridControl,
the current cell's behavior is controlled by the grid’s ActivateCurrentCellBehavior property.
When the property is set to SelectAll, it selects all the text
in the cell when the cell becomes the current cell.
//set to select all the text in the current cell
this.gridControl1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.SelectAll;'set to select all the text in the current cell
Me.gridControl1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.SelectAllAfter applying the properties, the grid is shown as follows,

Figure 1: Selects all the text in the cell
Samples:
C#: SelectAll Text
VB: SelectAll Text