可以使用下面的代码来设置:
- FarPoint.Win.DoubleLineBorder dborder = new FarPoint.Win.DoubleLineBorder(Color.Blue, true, true, true, true);
- fpSpread1.Sheets[0].Columns[2].Border = dborder;
- FarPoint.Win.LineBorder lborder = new FarPoint.Win.LineBorder(Color.Black, 2);
- fpSpread1.Sheets[0].Columns[0].Border = lborder;
复制代码
详细说明可以参考帮助文档中的以下章节 :
Developer's Guide -> Customizing Row, Column, and Cell Appearance -> Customizing the Appearance of a Cell -> Customizing Cell Borders |