GrapeCity.Xaml.SpreadSheet.UI
CanTouchMultiSelect Property (GcSpreadSheet)
Example 


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

GcSpreadSheet1.Sheets(0).SelectionPolicy = GrapeCity.Xaml.SpreadSheet.Data.SelectionPolicy.MultiRange
GcSpreadSheet1.CanTouchMultiSelect = True
GcSpreadSheet1.Sheets(0).TouchSelectionGripperBackgroundColor = Windows.UI.Colors.Red
'GcSpreadSheet1.Sheets(0).TouchSelectionGripperBackgroundThemeColor = "Accent 3 40"
'GcSpreadSheet1.Sheets(0).ResetTouchSelectionGripperBackgroundColor()
'GcSpreadSheet1.Sheets(0).ResetTouchSelectionGripperBackgroundThemeColor()

See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members