Spread Windows Forms 12.0 Product Documentation
TriangleNoteIndicatorRenderer Constructor(Color)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TriangleNoteIndicatorRenderer Class > TriangleNoteIndicatorRenderer Constructor : TriangleNoteIndicatorRenderer Constructor(Color)
Color of the focus indicator
Creates a new renderer for the triangle indicator with the specified color and thickness.
Syntax
'Declaration
 
Public Function New( _
   ByVal clr As Color _
)
'Usage
 
Dim clr As Color
 
Dim instance As New TriangleNoteIndicatorRenderer(clr)
public TriangleNoteIndicatorRenderer( 
   Color clr
)

Parameters

clr
Color of the focus indicator
Example
This example sets the color of the note indicator.
FpSpread1.ActiveSheet.Cells[1, 1].Note = "That's a cell note";
FpSpread1.ActiveSheet.Cells[1, 1].NoteIndicatorSize = new Size(6, 6);
FpSpread1.CellNoteIndicatorRenderer = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer(Color.Blue);
FpSpread1.ActiveSheet.Cells(1, 1).Note = "That's a cell note"
FpSpread1.ActiveSheet.Cells(1, 1).NoteIndicatorSize = New Size(6, 6)
FpSpread1.CellNoteIndicatorRenderer = New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer(Color.Blue)
See Also

Reference

TriangleNoteIndicatorRenderer Class
TriangleNoteIndicatorRenderer Members
Overload List