Spread Windows Forms 7.0 Product Documentation
UseOptimizedSelectionForTouch Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : UseOptimizedSelectionForTouch Property


Glossary Item Box

Gets or sets whether to use optimized selection for touch.

Syntax

Visual Basic (Declaration) 
Public Property UseOptimizedSelectionForTouch As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
instance.UseOptimizedSelectionForTouch = value
 
value = instance.UseOptimizedSelectionForTouch
C# 
public bool UseOptimizedSelectionForTouch {get; set;}

Example

This example sets the UseOptimizedSelectionForTouch property.
C#Copy Code
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;
VB.NETCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.