Spread Windows Forms 6.0 Product Documentation
EditorValue Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > MultiOptionCellType Class : EditorValue Property


Glossary Item Box

Gets or sets what value is written to the underlying data model.

Syntax

Visual Basic (Declaration) 
Public Property EditorValue As EditorValue
Visual Basic (Usage)Copy Code
Dim instance As MultiOptionCellType
Dim value As EditorValue
 
instance.EditorValue = value
 
value = instance.EditorValue
C# 
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.
C#Copy Code
FarPoint.Win.Spread.CellType.MultiOptionCellType mo = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
mo.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;
Visual BasicCopy Code
FarPoint.Win.Spread.CellType.MultiOptionCellType mo = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
mo.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.String;

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.