In the GridControl, by default CheckBoxClick event is raised, when you change the CheckBox state on Mousecklick. On using the space key, the CheckBox state is changed, but the CheckBoxClick event is not fired. To resolve this, the CheckBoxClick event can be manually raised by using the RaiseCheckBoxClick method. This method is called by using the CurrentCellKeyDown event.
The following code example is for calling the CheckBoxClick event in the CurrentCellKeyDown event.
Note: Here MouseEventArgs are passed as Empty to the CheckBoxClick event. So in this case, you can’t use mouse arguments inside the CheckBoxClick event.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|