FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > PercentCellType Class : IsValid Method |
'Usage Dim instance As PercentCellType Dim value As Object Dim value As Boolean value = instance.IsValid(value)
FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType(); bool b; fpSpread1.ActiveSheet.Cells[0, 0].CellType = p; fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05; b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value); MessageBox.Show(b.ToString());
FarPoint.Win.Spread.CellType.PercentCellType p = new FarPoint.Win.Spread.CellType.PercentCellType();
bool b;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 0.05;
b = p.IsValid(fpSpread1.ActiveSheet.Cells[0, 0].Value);
MessageBox.Show(b.ToString());
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8