Spread Windows Forms 11.0 Product Documentation
StyleInfo Constructor(String)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class > StyleInfo Constructor : StyleInfo Constructor(String)
Name of the parent NamedStyle object
Creates a set of cell-level style settings (StyleInfo object) with the specified parent style.
Syntax
'Declaration
 
Public Function New( _
   ByVal parentName As String _
)
'Usage
 
Dim parentName As String
 
Dim instance As New StyleInfo(parentName)
public StyleInfo( 
   string parentName
)

Parameters

parentName
Name of the parent NamedStyle object
Example
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo("StyleHeaders");
si.BackColor = Color.Yellow;
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo("StyleHeaders")
si.BackColor = Color.Yellow
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si
See Also

Reference

StyleInfo Class
StyleInfo Members
Overload List