Spread Windows Forms 11.0 Product Documentation
UseOptimizedSelectionForTouch Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : UseOptimizedSelectionForTouch Property
Gets or sets whether to use optimized selection for touch.
Syntax
'Declaration
 
Public Property UseOptimizedSelectionForTouch As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.UseOptimizedSelectionForTouch = value
 
value = instance.UseOptimizedSelectionForTouch
public bool UseOptimizedSelectionForTouch {get; set;}
Example
This example sets the UseOptimizedSelectionForTouch 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