MultiRow Windows Forms > Developer's Guide > Using MultiRow > Multi-touch Features > Resizing the Column Width |
MultiRow allows you to resize the column width using touch. This section describes how to resize the column width using the touch gesture.
The resizing mark is displayed at the right or bottom of the cell when you tap on it, if the Cell.ResizeMode property for the cells is set to a value other than None.
The following figure shows the difference between the resizing mark based on the value set in the Cell.ResizeMode property.
ResizeMode property | Horizontal | Vertical | Both |
---|---|---|---|
Display of the Resize Mark |
The following is a description about the column width, but the same feature is also available for resizing the row height.
You can change the column width by sliding the mark.
Double-tap the resizing mark to perform automatic adjustment of the cell width to fit the contents of the corresponding cell.
In addition, you can perform automatic adjustment of the width for all the cells collectively by tapping the CornerHeaderCell, after double-tapping the resizing mark.
You can disable resizing with touch, by setting the AllowUserToTouchResize property to False. After this setting, the mark for resizing does not appear even if you tap the cell.
This example sets the AllowUserToTouchResize property.
GcMultiRow1.AllowUserToTouchResize = False |
gcMultiRow1.AllowUserToTouchResize = false; |
Even if the AllowUserToTouchResize property is set to False, it is possible to resize using the mouse. |