PowerTools SPREAD for Windows Forms 10.0J
CellNoteIndicatorRenderer プロパティ (FpSpread)


コンポーネントのセルノートインジケーターを描画するセルノートインジケーターレンダラーを取得または設定します。
構文
'Declaration
 
Public Property CellNoteIndicatorRenderer As INoteIndicatorRenderer2
'使用法
 
Dim instance As FpSpread
Dim value As INoteIndicatorRenderer2
 
instance.CellNoteIndicatorRenderer = value
 
value = instance.CellNoteIndicatorRenderer
public INoteIndicatorRenderer2 CellNoteIndicatorRenderer {get; set;}
次のサンプルコードは、CellNoteIndicatorRendererプロパティを設定します。
FarPoint.Win.Spread.CellType.DateTimeCellType dt3 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
dt3.SimpleEdit = true;
fpSpread1.ActiveSheet.Cells[3, 0].CellType = dt3;
fpSpread1.ActiveSheet.Cells[3, 0].Value = DateTime.Now;
fpSpread1.ActiveSheet.Cells[3, 0].Note = "Testing";
fpSpread1.CellNoteIndicatorRenderer = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer();
Dim dt3 As New FarPoint.Win.Spread.CellType.DateTimeCellType()
dt3.SimpleEdit = True
FpSpread1.ActiveSheet.Cells(3, 0).CellType = dt3
FpSpread1.ActiveSheet.Cells(3, 0).Value = DateTime.Now
FpSpread1.ActiveSheet.Cells(3, 0).Note = "Testing"
FpSpread1.CellNoteIndicatorRenderer = New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer()
参照

FpSpread クラス
FpSpread メンバ

 

 


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