Spread Silverlight Documentation
SelectionUnit Enumeration
Example Example 


GrapeCity.Windows.SpreadSheet.Data Namespace : SelectionUnit Enumeration
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.Windows.SpreadSheet.Data.SelectionPolicy.Single;
gcSpreadSheet1.Sheets[0].SelectionUnit = GrapeCity.Windows.SpreadSheet.Data.SelectionUnit.Cell;
GcSpreadSheet1.Sheets(0).SelectionPolicy = GrapeCity.Windows.SpreadSheet.Data.SelectionPolicy.Single
GcSpreadSheet1.Sheets(0).SelectionUnit = GrapeCity.Windows.SpreadSheet.Data.SelectionUnit.Cell
Inheritance Hierarchy

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

See Also

Reference

GrapeCity.Windows.SpreadSheet.Data Namespace