请参考下面的代码:
- private void fpSpread1_EditModeOn(object sender, EventArgs e)
- {
- if ((fpSpread1.EditingControl as FarPoint.Win.Spread.CellType.GeneralEditor) != null)
- {
- (fpSpread1.EditingControl as FarPoint.Win.Spread.CellType.GeneralEditor).BackColor = Color.Azure;
- }
- }
复制代码 |