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


Glossary Item Box

Gets or sets whether to tap to add selection.

Syntax

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

Example

This example sets the TapToAddSelection 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.