Resets the focus renderer to its original state.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub ResetCellNoteIndicatorRenderer() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
instance.ResetCellNoteIndicatorRenderer() |
C# | |
---|
public void ResetCellNoteIndicatorRenderer() |
Example
This example uses the ResetCellNoteIndicatorRenderer method.
C# | Copy Code |
---|
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();
fpSpread1.ResetCellNoteIndicatorRenderer(); |
Visual Basic | Copy Code |
---|
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()
FpSpread1.ResetCellNoteIndicatorRenderer() |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also