SpreadforASP.NET表格控件皮肤设置
SpreadforASP.NET全球销量领先的表格控件,类似Excel的强大功能。
Spread内置了19种皮肤,可以满足不同界面风格喜好。其中包含用途广泛的
Office2007及Office2013皮肤。同时还支持自定义皮肤。
切换内置皮肤方法如下:
FarPoint.Web.Spread.DefaultSkins.Colorful2.Apply(FpSpread1.She
ets[0]);
效果图:
自定义皮肤方法如下:
FarPoint.Web.Spread.SheetSkinmyskin=newFarPoint.Web.Spread.
SheetSkin("MySkin",Color.BlanchedAlmond,Color.Bisque,Color.N
avy,2,Color.Blue,GridLines.Both,Color.Beige,Color.BurlyWoo
d,Color.AntiqueWhite,Color.Brown,Color.Bisque,Color.Bisque,
true,true,true,true,false);
myskin.Apply(FpSpread1.Sheets[0]);
以上即为Spread皮肤的使用方法。
|
|