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


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

戻り値の型

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

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

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.IsEditorSet();
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.IsEditorSet()
Label1.Text = b.ToString()
参照

StyleInfo クラス
StyleInfo メンバ

 

 


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