FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス > StyleInfo コンストラクタ : StyleInfo コンストラクタ(String,StyleInfo) |
'宣言
Public Function New( _ ByVal parentName As String, _ ByVal style As StyleInfo _ )
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