FarPoint.Win.Spread.ColumnHeader ch;
FarPoint.Win.Spread.NamedStyle style = new FarPoint.Win.Spread.NamedStyle("ColumnHeader");
ch = fpSpread1.ActiveSheet.ColumnHeader;
ch.RowCount = 3;
style.BackColor = Color.Teal;
fpSpread1.NamedStyles.Add(style);
ch.DefaultStyleName = "ColumnHeader";
Dim ch As FarPoint.Win.Spread.ColumnHeader
Dim style As New FarPoint.Win.Spread.NamedStyle("ColumnHeader")
ch = fpSpread1.ActiveSheet.ColumnHeader
ch.RowCount = 3
style.BackColor = Color.Teal
fpSpread1.NamedStyles.Add(style)
ch.DefaultStyleName = "ColumnHeader"