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

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

    Property Value

    DateTimeEditorValue setting that determines the type of data used in the data model for date-time cell values
    If you set the Value property for a cell, make sure the Value property matches the type specified by this property.
    This example writes the serial value to the model.
    FarPoint.Win.Spread.CellType.DateTimeCellType dt = new FarPoint.Win.Spread.CellType.DateTimeCellType();
    dt.EditorValue = FarPoint.Win.Spread.CellType.DateTimeEditorValue.DateSerial;
    fpSpread1.ActiveSheet.Cells[0, 0].CellType = dt;
    Dim dt As New FarPoint.Win.Spread.CellType.DateTimeCellType
    dt.EditorValue = FarPoint.Win.Spread.CellType.DateTimeEditorValue.DateSerial
    fpSpread1.ActiveSheet.Cells(0, 0).CellType = dt
    See Also