GrapeCity.Xaml.SpreadSheet.Data
SelectionUnit Enumeration
Example Example 


Specifies the smallest unit users or the application can select.
Syntax
'Declaration
 
Public Enum SelectionUnit 
   Inherits System.Enum
'Usage
 
Dim instance As SelectionUnit
public enum SelectionUnit : System.Enum 
Members
MemberDescription
Cell [0] Indicates that the smallest unit that can be selected is a cell.
Column [2] Indicates that the smallest unit that can be selected is a column.
Row [1] Indicates that the smallest unit that can be selected is a row.
Example
This example uses the SelectionUnit enumeration.
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Xaml.SpreadSheet.Data.SelectionUnit

Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

GrapeCity.Xaml.SpreadSheet.Data Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options