This sample describes about FormulaRangeSelectionController class, which implements an IMouseController interface.
Features
Allows you to apply a formula for the entire selected range of cells. For example, you can type a formula such as =Sum() in a cell and use your mouse to drag the required range to which the same formula has to be applied.
You can use this functionality in your projects by adding the FormulaRangeSelectionController class file and including the following code to your Form_Load to create the controller and wire it to the grid control.
FormulaRangeSelectionController formulaController = new FormulaRangeSelectionController(gridControl1); gridControl1.MouseControllerDispatcher.Add(formulaController);
FormulaRangeSelectionController class implements the IMouseController interface, which handles mouse events for formula range selection.