Gets or sets the default style for the cells in the row header.
Syntax
Visual Basic (Declaration) | |
---|
Public Property DefaultStyle As StyleInfo |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RowHeader
Dim value As StyleInfo
instance.DefaultStyle = value
value = instance.DefaultStyle |
Property Value
StyleInfo object containing the default style information for the header
Example
This example changes the background color of the row header using its DefaultStyle.
Visual Basic | Copy Code |
---|
Dim r As FarPoint.Win.Spread.RowHeader
r = FpSpread1.ActiveSheet.RowHeader
Dim mystyle As New FarPoint.Win.Spread.StyleInfo()
mystyle.BackColor = Color.Red
r.DefaultStyle = mystyle |
C# | Copy Code |
---|
FarPoint.Win.Spread.RowHeader r;
r = fpSpread1.ActiveSheet.RowHeader;
FarPoint.Win.Spread.StyleInfo mystyle = new FarPoint.Win.Spread.StyleInfo();
mystyle.BackColor = Color.Red;
r.DefaultStyle = mystyle; |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also