Gets or sets the selection mode for the list.
            
            
            
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| Public Property SelectionMode As SelectionMode | 
| Visual Basic (Usage) |  Copy Code | 
|---|
| Dim instance As ListBoxCellType
Dim value As SelectionMode
 
instance.SelectionMode = value
 
value = instance.SelectionMode | 
 Example
Example
This example sets the selection mode.
             
| C# |  Copy Code | 
|---|
| FarPoint.Win.Spread.CellType.ListBoxCellType listcell = new FarPoint.Win.Spread.CellType.ListBoxCellType();
listcell.SelectionMode = SelectionMode.MultiSimple;
listcell.ItemData = new string[] { "One", "Two", "Three"};
listcell.Items = new string[] { "One", "Two", "Three"};
fpSpread1.Sheets[0].Cells[0, 0].CellType = listcell; | 
| Visual Basic |  Copy Code | 
|---|
| Dim listcell As New FarPoint.Win.Spread.CellType.ListBoxCellType()
listcell.SelectionMode = SelectionMode.MultiSimple
listcell.ItemData = New String() {"One", "Two", "Three"}
listcell.Items = New String() {"One", "Two", "Three"}
FpSpread1.Sheets(0).Cells(0, 0).CellType = listcell | 
 Requirements
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
 See Also
See Also