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


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

戻り値の型

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

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

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

StyleInfo クラス
StyleInfo メンバ

 

 


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