Spread Windows Forms 12.0 Product Documentation
TapToAddSelection Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : TapToAddSelection Property
Gets or sets whether to tap to add selection.
Syntax
'Declaration
 
Public Property TapToAddSelection As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.TapToAddSelection = value
 
value = instance.TapToAddSelection
public bool TapToAddSelection {get; set;}
Example
This example sets the TapToAddSelection property.
fpSpread1.TouchSelectionGripperBackColor = Color.Aquamarine;
fpSpread1.TouchSelectionGripperLineColor = Color.DarkMagenta;
fpSpread1.TouchSelectionGripperThickness = 2;
fpSpread1.TapToAddSelection = true;
fpSpread1.ActiveSheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange;
fpSpread1.UseOptimizedSelectionForTouch = true;
FpSpread1.TouchSelectionGripperBackColor = Color.Aquamarine
FpSpread1.TouchSelectionGripperLineColor = Color.DarkMagenta
FpSpread1.TouchSelectionGripperThickness = 2
FpSpread1.TapToAddSelection = True
FpSpread1.ActiveSheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.MultiRange
FpSpread1.UseOptimizedSelectionForTouch = True
See Also

Reference

FpSpread Class
FpSpread Members