FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス > StyleInfo コンストラクタ : StyleInfo コンストラクタ(String,StyleInfo) |
'Declaration Public Function New( _ ByVal parentName As String, _ ByVal style As StyleInfo _ )
'使用法 Dim parentName As String Dim style As StyleInfo Dim instance As New StyleInfo(parentName, style)
public StyleInfo( string parentName, StyleInfo style )
FarPoint.Win.Spread.StyleInfo clone = new FarPoint.Win.Spread.StyleInfo(); clone.BackColor = Color.Yellow; FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo("StyleHeaders", clone); fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim clone As New FarPoint.Win.Spread.StyleInfo() clone.BackColor = Color.Yellow Dim si As New FarPoint.Win.Spread.StyleInfo("StyleHeaders", clone) FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si