Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / ComboBoxCellType Class / EditorValue Property

In This Topic
    EditorValue Property (ComboBoxCellType)
    In This Topic
    Gets or sets what value is written to the underlying data model.
    Public Property EditorValue As EditorValue
    Dim instance As ComboBoxCellType
    Dim value As EditorValue
    instance.EditorValue = value
    value = instance.EditorValue
    public EditorValue EditorValue {get; set;}

    Property Value

    EditorValue setting that determines the value written to the data model
    This example specifies what is written out to the data model for a selected item in the cell.
    FarPoint.Win.Spread.CellType.ComboBoxCellType cb = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); 
    cb.Items = new string[]{"One", "Two", "Three", "Four"}; 
    cb.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
    Dim cb As New FarPoint.Win.Spread.CellType.ComboBoxCellType
    cb.Items = New String() {"One", "Two", "Three", "Four"}
    cb.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String
    See Also