PowerTools SPREAD for Windows Forms 10.0J
IsCellTypeSet メソッド


セルの型(CellTypeプロパティ)が設定されているかどうかを判定します。
構文
public virtual bool IsCellTypeSet()
'Declaration
 
Public Overridable Function IsCellTypeSet() As Boolean
 
'使用法
 
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.IsCellTypeSet()

戻り値の型

Boolean:プロパティが設定されている場合は True、それ以外の場合は False
解説

CellTypeプロパティが設定されているかどうかを取得します。

FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
bool b;
si.CellType = new FarPoint.Win.Spread.CellType.DateTimeCellType;
fpSpread1.ActiveSheet.DefaultStyle = si;
b = si.IsCellTypeSet();
label1.Text = b.ToString();
Dim si As New FarPoint.Win.Spread.StyleInfo
Dim b As Boolean
si.CellType = New FarPoint.Win.Spread.CellType.DateTimeCellType
FpSpread1.ActiveSheet.DefaultStyle = si
b = si.IsCellTypeSet()
Label1.Text = b.ToString()
参照

StyleInfo クラス
StyleInfo メンバ

 

 


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