This event raised when user released any key on worksheet inside any cells, for example:

void InitWorksheet()
  var sheet = gridControl.CurrentWorksheet;
  sheet.CellKeyUp += sheet_CellKeyUp;

Event body seems like below:

void sheet_CellKeyUp(object sender, CellKeyDownEventArgs e)
  MessageBox.Show("Pressed key is: " + e.KeyCode);


This event will not be raised when some key pressed inside worksheet that causes worksheet into Edit-mode, usually the char keys like A-Z, 0-9 and symbols will cause cell enter Edit-mode. Therefore if cells could be editable, sometimes only the BeforeCellKeyDown and AfterCellKeyDown could be handled.

Return to Events