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


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

    Property Value

    EditorValue object containing the value.
    Example
    This example specifies what is written out to the data model for a selected item in the cell.
    FarPoint.Win.Spread.CellType.ListBoxCellType lst = new FarPoint.Win.Spread.CellType.ListBoxCellType();
    lst.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
    FarPoint.Win.Spread.CellType.ListBoxCellType lst = new FarPoint.Win.Spread.CellType.ListBoxCellType();
    lst.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
    See Also