GrapeCity.Xaml.SpreadSheet.Data
SelectionUnit Property
Example 


Gets or sets whether users can select cells, rows, or columns.
Syntax
'Declaration
 
Public Property SelectionUnit As SelectionUnit
'Usage
 
Dim instance As Worksheet
Dim value As SelectionUnit
 
instance.SelectionUnit = value
 
value = instance.SelectionUnit
public SelectionUnit SelectionUnit {get; set;}

Property Value

The SelectionUnit enumeration that specifies the selection type.
Example
This example uses the SelectionUnit 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