Spread Windows Forms 10.0 Product Documentation
CellNoteIndicatorRenderer Property (FpSpread)
Example 


Gets or sets the cell note indicator renderer for drawing the cell note indicator in the component.
Syntax
'Declaration
 
Public Property CellNoteIndicatorRenderer As INoteIndicatorRenderer2
'Usage
 
Dim instance As FpSpread
Dim value As INoteIndicatorRenderer2
 
instance.CellNoteIndicatorRenderer = value
 
value = instance.CellNoteIndicatorRenderer
public INoteIndicatorRenderer2 CellNoteIndicatorRenderer {get; set;}
Example
This example sets the CellNoteIndicatorRenderer property.
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()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.