PowerTools SPREAD for Windows Forms 8.0J
Clone メソッド (StyleInfo)


現在のインスタンスのコピーである新しいオブジェクトを作成します(同じスタイル設定)。
構文
public virtual object Clone()
'Declaration
 
Public Overridable Function Clone() As Object
 
'使用法
 
Dim instance As StyleInfo
Dim value As Object
 
value = instance.Clone()

戻り値の型

StyleInfo オブジェクトのコピーを含む Object
解説
現在のインスタンスのコピーである新しいStyleInfoオブジェクトを作成します。
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
参照

StyleInfo クラス
StyleInfo メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.