[]
        
(Showing Draft Content)

Using Touch Support with Selections

You can select columns, rows, cell ranges, and the entire control using touch gestures.

The selection gripper is displayed when touching the cell, column, or row. The gripper is not displayed when using the mouse or keyboard. The selection grippers are displayed on the outside edge of the range (top-left and bottom-right edges, by default). The border is displayed around the selected cell range when using touch operations.

Tap a cell to select the cell and display the selection gripper. Press the cell selection gripper and slide. Release to select a cell range.

Spread for ASP.NET spreadsheet interface displays Selection gripper: multiple cells, helping developers complete the task described in Using Touch Support with Selections.

Tap a column header (or row header) to select a column (or row). You can then press the selection gripper and slide to select a column range (or row range). Release to complete the selection.

Spread for ASP.NET spreadsheet interface displays Selection gripper: multiple rows, helping developers complete the task described in Using Touch Support with Selections.

Spread for ASP.NET spreadsheet interface displays Selection gripper: multiple columns, helping developers complete the task described in Using Touch Support with Selections.

You can select the entire control by tapping the corner header.

You can change the size of the cell range selection by pressing the selection gripper and sliding in any direction. Release to complete the action.

You can customize the gripper appearance using the SelectionGripperThickness, SelectionGripperLineColor, and SelectionGripperBackColor properties as in the following image.

Spread for ASP.NET spreadsheet interface displays Customized Selection Gripper, helping developers complete the task described in Using Touch Support with Selections.

Using Code

Set the SelectionGripperThickness, SelectionGripperLineColor, and SelectionGripperBackColor properties.

Example

This example sets the selection gripper appearance.

FpSpread1.TouchInfo.SelectionGripperBackColor = System.Drawing.Color.Aqua;
FpSpread1.TouchInfo.SelectionGripperLineColor = System.Drawing.Color.Red;
FpSpread1.TouchInfo.SelectionGripperThickness = 2;
FpSpread1.TouchInfo.SelectionGripperBackColor = System.Drawing.Color.Aqua
FpSpread1.TouchInfo.SelectionGripperLineColor = System.Drawing.Color.Red
FpSpread1.TouchInfo.SelectionGripperThickness = 2

See Also

Customizing Selections of Cells

TapToAddSelection