回复 2楼sean03424014的帖子
可以通过替换 Spread 行列头背景图片来实现:
- FarPoint.Web.Spread.Background bg = new FarPoint.Web.Spread.Background();
- bg.SelectedBackgroundImageUrl = "images/BackGround.png";
- bg.BackgroundImageUrl = "images/BackGround.png";
- bg.Enable = true;
- FarPoint.Web.Spread.StyleInfo darkstyle = new FarPoint.Web.Spread.StyleInfo();
- darkstyle.Background = bg;
- // Apply the new style.
- FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = darkstyle;
- FpSpread1.ActiveSheetView.RowHeader.DefaultStyle = darkstyle;
复制代码 |