GrapeCity.Xaml.SpreadSheet.Data
SelectionPolicy Property
Example 


Gets or sets whether users can select ranges of items.
Syntax
'Declaration
 
Public Property SelectionPolicy As SelectionPolicy
'Usage
 
Dim instance As Worksheet
Dim value As SelectionPolicy
 
instance.SelectionPolicy = value
 
value = instance.SelectionPolicy
public SelectionPolicy SelectionPolicy {get; set;}

Property Value

The SelectionPolicy enumeration that indicates how users can select ranges of items.
Example
This example uses the SelectionPolicy property.
gcSpreadSheet1.Sheets[0].SelectionPolicy = GrapeCity.Xaml.SpreadSheet.Data.SelectionPolicy.Single;
gcSpreadSheet1.Sheets[0].SelectionUnit = GrapeCity.Xaml.SpreadSheet.Data.SelectionUnit.Cell;
GcSpreadSheet1.Sheets(0).SelectionPolicy = GrapeCity.Xaml.SpreadSheet.Data.SelectionPolicy.Single
GcSpreadSheet1.Sheets(0).SelectionUnit = GrapeCity.Xaml.SpreadSheet.Data.SelectionUnit.Cell
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options