protected void btnApplyHeaderStyle_Click(object sender, EventArgs e)
{
// ExStart:ApplyHeaderBarStyle
// Setting header bar properties, BackColor, ForeColor, Font & BorderWidth
GridWeb1.HeaderBarStyle.BackColor = System.Drawing.Color.Brown;
GridWeb1.HeaderBarStyle.ForeColor = System.Drawing.Color.Yellow;
GridWeb1.HeaderBarStyle.Font.Bold = true;
GridWeb1.HeaderBarStyle.Font.Name = "Century Gothic";
GridWeb1.HeaderBarStyle.BorderWidth = new Unit(2, UnitType.Point);
// ExEnd:ApplyHeaderBarStyle
}