Specifies what is written out to the data model for a selected item from certain cell types that offer a selection of multiple values.
Syntax
Visual Basic (Declaration) | |
---|
Public Enum EditorValue
Inherits System.Enum |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As EditorValue |
Members
Remarks
Example
This example returns the index of the selected item in the list of a combo box.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.ComboBoxCellType cb = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
cb.Items = new string[] {"A", "G"};
cb.ItemData = new string[] {"Alpha", "Gamma"};
cb.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.Index;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cb;
|
Visual Basic | Copy Code |
---|
Dim cb As New FarPoint.Win.Spread.CellType.ComboBoxCellType
cb.Items = New String() {"A", "G"}
cb.ItemData = New String() {"Alpha", "Gamma"}
cb.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.Index
FpSpread1.ActiveSheet.Cells(0, 0).CellType = cb |
Inheritance Hierarchy
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