Spread WPF Documentation
CanTouchMultiSelect Property (GcSpreadSheet)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : CanTouchMultiSelect Property
Indicates whether the user can select multiple ranges by touch.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Spread Workbook")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property CanTouchMultiSelect As System.Boolean
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Boolean
 
instance.CanTouchMultiSelect = value
 
value = instance.CanTouchMultiSelect
[System.ComponentModel.Category("Spread Workbook")]
[System.ComponentModel.DefaultValue()]
public System.bool CanTouchMultiSelect {get; set;}
Example
This example sets the CanTouchMultiSelect property.
GcSpreadSheet1.Sheets[0].SelectionPolicy = GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy.MultiRange;
GcSpreadSheet1.CanTouchMultiSelect = true;
//GcSpreadSheet1.Sheets[0].TouchSelectionGripperBackgroundColor = System.Windows.Media.Colors.Red;
GcSpreadSheet1.Sheets[0].TouchSelectionGripperBackgroundThemeColor = "Accent 3 40";
//GcSpreadSheet1.Sheets[0].ResetTouchSelectionGripperBackgroundColor();
//GcSpreadSheet1.Sheets[0].ResetTouchSelectionGripperBackgroundThemeColor();
GcSpreadSheet1.Sheets(0).SelectionPolicy = GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy.MultiRange
GcSpreadSheet1.CanTouchMultiSelect = True
'GcSpreadSheet1.Sheets(0).TouchSelectionGripperBackgroundColor = System.Windows.Media.Colors.Red
GcSpreadSheet1.Sheets(0).TouchSelectionGripperBackgroundThemeColor = "Accent 3 40"
'GcSpreadSheet1.Sheets(0).ResetTouchSelectionGripperBackgroundColor()
'GcSpreadSheet1.Sheets(0).ResetTouchSelectionGripperBackgroundThemeColor()
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members