激活单元格的颜色就是本事颜色,不会变的。
可以把这行其他单元格不要设置选中背景色
FarPoint.Win.Spread.GradientSelectionRenderer gsr = new FarPoint.Win.Spread.GradientSelectionRenderer(Color.Green, Color.LightGreen, System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal, 0);
fpSpread1.SelectionRenderer = gsr;
|