This example demonstrates how to display custom controls instead of a cell's in-place editor.
• If an end-user tries to edit a cell located in the "Order Date" column of a worksheet table, the DateEdit control is displayed, so that the user can select the required date in the drop-down calendar.
• If the end-user tries to edit a cell in the "Category" column of a table, the ComboBoxEdit appears allowing the user to select one of predefined values.
• And finally, if the end-user activates a cell located in the "Discount" column, the CheckEdit control is displayed. It gives the user the true/false option to apply a 10% discount to the total amount.
Image may be NSFW.
Clik here to view.
To implement this behavior, subscribe to the SpreadsheetControl.CellBeginEdit event that is raised before the cell editor is activated, and then use the SpreadsheetControl.GetCellBounds method to obtain boundaries of the currently edited cell. Cell boundaries are defined by an instance of the System.Drawing.Rectangle class. Display the custom control over the cell editor by assigning the returned rectangle to the Control.Bounds property to specify the custom control's size and location.
• If an end-user tries to edit a cell located in the "Order Date" column of a worksheet table, the DateEdit control is displayed, so that the user can select the required date in the drop-down calendar.
• If the end-user tries to edit a cell in the "Category" column of a table, the ComboBoxEdit appears allowing the user to select one of predefined values.
• And finally, if the end-user activates a cell located in the "Discount" column, the CheckEdit control is displayed. It gives the user the true/false option to apply a 10% discount to the total amount.
Image may be NSFW.
Clik here to view.

To implement this behavior, subscribe to the SpreadsheetControl.CellBeginEdit event that is raised before the cell editor is activated, and then use the SpreadsheetControl.GetCellBounds method to obtain boundaries of the currently edited cell. Cell boundaries are defined by an instance of the System.Drawing.Rectangle class. Display the custom control over the cell editor by assigning the returned rectangle to the Control.Bounds property to specify the custom control's size and location.