Spread Windows Forms 7.0 Product Documentation
CellNoteIndicatorRenderer Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : CellNoteIndicatorRenderer Property


Glossary Item Box

Gets or sets the cell note indicator renderer for drawing the cell note indicator in the component.

Syntax

Visual Basic (Declaration) 
Public Property CellNoteIndicatorRenderer As INoteIndicatorRenderer2
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As INoteIndicatorRenderer2
 
instance.CellNoteIndicatorRenderer = value
 
value = instance.CellNoteIndicatorRenderer
C# 
public INoteIndicatorRenderer2 CellNoteIndicatorRenderer {get; set;}

Example

This example sets the CellNoteIndicatorRenderer property.
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();
VB.NETCopy 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()

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.