Spread for ASP.NET 11 Product Documentation
HeaderFontBold Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class : HeaderFontBold Property
Gets whether the font is bold for text in headers in the sheet.
Syntax
'Declaration
 
Public ReadOnly Property HeaderFontBold As Boolean
'Usage
 
Dim instance As SheetSkin
Dim value As Boolean
 
value = instance.HeaderFontBold
public bool HeaderFontBold {get;}

Property Value

Boolean: true if header text appears bold; false otherwise
Example
This example shows the use of the property by returning all the properties for the skin.
FarPoint.Web.Spread.SheetSkin myskin = new FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Color.Empty, Color.Empty, false, false, true, true, true);
myskin.Apply(FpSpread1);

ListBox1.Items.Add(myskin.BackColor.ToString());
ListBox1.Items.Add(myskin.CellBackColor.ToString());
ListBox1.Items.Add(myskin.CellForeColor.ToString());
ListBox1.Items.Add(myskin.EvenRowBackColor.ToString());
ListBox1.Items.Add(myskin.FlatColumnHeader.ToString());
ListBox1.Items.Add(myskin.FlatRowHeader.ToString());
ListBox1.Items.Add(myskin.GridLineColor.ToString()); 
ListBox1.Items.Add(myskin.GridLines.ToString());
ListBox1.Items.Add(myskin.HeaderBackColor.ToString());
ListBox1.Items.Add(myskin.HeaderFontBold.ToString()); 
ListBox1.Items.Add(myskin.HeaderForeColor.ToString());
ListBox1.Items.Add(myskin.Name.ToString());
ListBox1.Items.Add(myskin.OddRowBackColor.ToString()); 
ListBox1.Items.Add(myskin.SelectionBackColor.ToString());
ListBox1.Items.Add(myskin.SelectionForeColor.ToString());
ListBox1.Items.Add(myskin.ShowColumnHeader.ToString());
ListBox1.Items.Add(myskin.ShowRowHeader.ToString());
Dim myskin As New FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Nothing, Nothing, False, False, True, True, True)
myskin.Apply(FpSpread1)

ListBox1.Items.Add(myskin.BackColor.ToString())
ListBox1.Items.Add(myskin.CellBackColor.ToString())
ListBox1.Items.Add(myskin.CellForeColor.ToString())
ListBox1.Items.Add(myskin.EvenRowBackColor.ToString())
ListBox1.Items.Add(myskin.FlatColumnHeader.ToString())
ListBox1.Items.Add(myskin.FlatRowHeader.ToString())
ListBox1.Items.Add(myskin.GridLineColor.ToString())
ListBox1.Items.Add(myskin.GridLines.ToString())
ListBox1.Items.Add(myskin.HeaderBackColor.ToString())
ListBox1.Items.Add(myskin.HeaderFontBold.ToString())
ListBox1.Items.Add(myskin.HeaderForeColor.ToString())
ListBox1.Items.Add(myskin.Name.ToString())
ListBox1.Items.Add(myskin.OddRowBackColor.ToString())
ListBox1.Items.Add(myskin.SelectionBackColor.ToString())
ListBox1.Items.Add(myskin.SelectionForeColor.ToString())
ListBox1.Items.Add(myskin.ShowColumnHeader.ToString())
ListBox1.Items.Add(myskin.ShowRowHeader.ToString())
See Also

Reference

SheetSkin Class
SheetSkin Members