FarPoint.Win.Spread.Model.ISheetStyleModel iStyle;
FarPoint.Win.Spread.StyleInfo sInfo = new FarPoint.Win.Spread.StyleInfo();
FarPoint.Win.Spread.NamedStyleCollection nsc = new
FarPoint.Win.Spread.NamedStyleCollection();
FarPoint.Win.Spread.NamedStyle ns = new FarPoint.Win.Spread.NamedStyle();
ns.Border = new
FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised,
Color.DarkBlue, Color.LightBlue, 2);
nsc.Add(ns);
sInfo.BackColor = Color.LightBlue;
iStyle = fpSpread1.ActiveSheet.Models.Style;
iStyle.SetDirectAltRowInfo(0, sInfo);
FarPoint.Win.Spread.Model.DefaultSheetStyleModel defstyleModel = new
FarPoint.Win.Spread.Model.DefaultSheetStyleModel(10, 10, nsc);
fpSpread2.ActiveSheet.Models.Style = defstyleModel;