Spread Winforms相对JS的属性设置稍有区别,参考下面的代码
- fpSpread1.ActiveSheet.HorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
- fpSpread1.ActiveSheet.VerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
复制代码
如果你是需要在程序中不显示gridline 的话,那上面的设置就可以了
|