private void Page_Load(object sender,System.EventArgs e)
{
if(this.IsPostBack)return;
FarPoint.Web.Spread.Model.DefaultSheetStyleModel model=(FarPoint.Web.Spread.Model.DefaultSheetStyleModel)FpSpread1.Sheets[0].StyleModel;
FarPoint.Web.Spread.StyleInfo style=new FarPoint.Web.Spread.StyleInfo();
style.BackColor=Color.Yellow;
model.SetDirectInfo(0,0,style);
FarPoint.Web.Spread.StyleInfo style1=new FarPoint.Web.Spread.StyleInfo();
style1.ForeColor=Color.Red;
model.SetDirectInfo(0,-1,style1);
FpSpread1.Sheets[0].SetValue(0,0,"Style");
style=model.GetCompositeInfo(0,0,-1,null);
ListBox1.Items.Add("BackColor"+style.BackColor.ToString());
ListBox1.Items.Add("ForeColor"+style.ForeColor.ToString());
}