Spread Windows Forms 11.0 Product Documentation
EditorValue Property (MultiOptionCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > MultiOptionCellType Class : EditorValue Property
Gets or sets what value is written to the underlying data model.
Syntax
'Declaration
 
Public Property EditorValue As EditorValue
'Usage
 
Dim instance As MultiOptionCellType
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
Remarks
If you set the Value property for a cell, make sure the Value property matches the type specified by this property.
Example
This example specifies what is written out to the data model for a selected item in the cell.
FarPoint.Win.Spread.CellType.MultiOptionCellType mo = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
mo.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
FarPoint.Win.Spread.CellType.MultiOptionCellType mo = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
mo.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
See Also

Reference

MultiOptionCellType Class
MultiOptionCellType Members
SetEditorValue Method