PowerTools SPREAD for Windows Forms 10.0J
ResetNoteIndicatorSize メソッド (AlternatingRow)


この行のセルのセルノートインジケーターのサイズをリセットします。
構文
'Declaration
 
Public Sub ResetNoteIndicatorSize() 
'使用法
 
Dim instance As AlternatingRow
 
instance.ResetNoteIndicatorSize()
public void ResetNoteIndicatorSize()
次のサンプルコードは、ノートインジケーターのサイズを設定します。
fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating; 
fpSpread1.ActiveSheet.SetNote(0, 0, "Currently out-of-stock"); 
fpSpread1.ActiveSheet.AlternatingRows[0].NoteIndicatorColor = Color.Green; 
fpSpread1.ActiveSheet.AlternatingRows[0].NoteIndicatorSize = new Size(10, 10);

private void Button1_Click(object sender, System.EventArgs e) 
{ 
fpSpread1.ActiveSheet.AlternatingRows[0].ResetNoteIndicatorSize(); 
} 
FpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating
FpSpread1.ActiveSheet.SetNote(0, 0, "Currently out-of-stock")
FpSpread1.ActiveSheet.AlternatingRows(0).NoteIndicatorColor = Color.Green
FpSpread1.ActiveSheet.AlternatingRows(0).NoteIndicatorSize = New Size(10, 10)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
FpSpread1.ActiveSheet.AlternatingRows(0).ResetNoteIndicatorSize()
End Sub
参照

AlternatingRow クラス
AlternatingRow メンバ

 

 


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