| Visual Basic (Declaration) | |
|---|---|
Public Enum SelectionBlockOptions Inherits System.Enum  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SelectionBlockOptions  | |
| C# | |
|---|---|
public enum SelectionBlockOptions : System.Enum  | |
| Member | Description | 
|---|---|
| Cells | [1] Allows the user to select a range of cells | 
| Columns | [4] Allows the user to select a column or columns of cells | 
| None | [0] Does not allow selections | 
| Rows | [2] Allows the user to select a row or rows of cells | 
| Sheet | [8] Allows the user to select the entire sheet of cells by clicking the sheet corner | 
This example uses the enumeration for the SelectionBlockOptions property.
             
            
            | C# |  Copy Code | 
|---|---|
FpSpread1.SelectionBlockOptions = FarPoint.Web.Spread.SelectionBlockOptions.Cells;  | |
| Visual Basic |  Copy Code | 
|---|---|
FpSpread1.SelectionBlockOptions = FarPoint.Web.Spread.SelectionBlockOptions.Cells  | |
System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.SelectionBlockOptions
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family