回复 1楼sup_xu的帖子
你好,
这是画 CellRange 上边方法,其他边可以参考该方法实现:
- private void fpSpread1_SelectionChanged(object sender, FarPoint.Win.Spread.SelectionChangedEventArgs e)
- {
- CellRange cr = this.fpSpread1.Sheets[0].GetSelection(0);
- this.fpSpread1.Sheets[0].Cells[cr.Row, cr.Column, cr.Row, cr.Column + cr.ColumnCount - 1].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised, Color.Red, Color.DarkRed, 1, false, true, false, false);
- }
复制代码 |