Spread for ASP.NET 9.0 Product Documentation
SelectionPolicy Property (SheetView)
Example 


Gets or sets the selection policy.
Syntax
'Declaration
 
Public Property SelectionPolicy As SelectionPolicy
'Usage
 
Dim instance As SheetView
Dim value As SelectionPolicy
 
instance.SelectionPolicy = value
 
value = instance.SelectionPolicy
public SelectionPolicy SelectionPolicy {get; set;}

Property Value

SelectionPolicy setting that determines how the user can make selections
Example
This example shows the setting of selection policy.
FpSpread1.Sheets.Count = 3;
FpSpread1.Sheets[0].SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.MultiRange;
FpSpread1.Sheets[1].SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.Range;
FpSpread1.Sheets[2].SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.Single;
FpSpread1.Sheets.Count = 3
FpSpread1.Sheets(0).SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.MultiRange
FpSpread1.Sheets(1).SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.Range
FpSpread1.Sheets(2).SelectionPolicy = FarPoint.Web.Spread.Model.SelectionPolicy.Single
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.