Spread WPF Documentation
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.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

Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

GrapeCity.Windows.SpreadSheet.Data Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.