Spread Silverlight Documentation
CanTouchMultiSelect Property (GcSpreadSheet)
Example 


Indicates whether the user can select multiple ranges by touch.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.CategoryAttribute("Spread Workbook")>
Public Property CanTouchMultiSelect As System.Boolean
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Boolean
 
instance.CanTouchMultiSelect = value
 
value = instance.CanTouchMultiSelect
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Category("Spread Workbook")]
public System.bool CanTouchMultiSelect {get; set;}
Example
This example uses 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()
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.