找到原因了,是因为在 EditChange 事件中写入了
FarPoint.Win.Spread.CellType.ICellType vCelltype = fpSpread1.ActiveSheet.ActiveCell.CellType;
if (vCelltype == null)
{
FarPoint.Win.Spread.CellType.TextCellType vTextCell = new FarPoint.Win.Spread.CellType.TextCellType();
vTextCell.WordWrap = true;
fpSpread1.ActiveSheet.ActiveCell.CellType = vTextCell;
} |