FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : Clone メソッド |
FarPoint.Win.Spread.StyleInfo clone = new FarPoint.Win.Spread.StyleInfo(); clone.BackColor = Color.Yellow; object o = new object; o = clone.Clone(); FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo("StyleHeaders", o); fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim clone As New FarPoint.Win.Spread.StyleInfo() clone.BackColor = Color.Yellow Dim o As New Object o = clone.Clone() Dim si As New FarPoint.Win.Spread.StyleInfo("StyleHeaders", o) FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si