GcSpread.Sheets Namespace > CellValueCondition type : expected Field |
var instance = new GcSpread.Sheets.CellValueCondition(compareType, expected, formula); var value; // Type: object value = instance.expected;
var expected : object;
var nCondition = new GcSpread.Sheets.CellValueCondition(); nCondition.compareType = GcSpread.Sheets.GeneralCompareType.GreaterThan; nCondition.expected = 4; var validator = new GcSpread.Sheets.DefaultDataValidator(nCondition) activeSheet.getCell(0, 0, GcSpread.Sheets.SheetArea.viewport).dataValidator(validator); spread.highlightInvalidData(true); activeSheet.setValue(0, 0, 5);