Spread Windows Forms 6.0 Product Documentation
TriangleNoteIndicatorRenderer Constructor(Color)
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TriangleNoteIndicatorRenderer Class > TriangleNoteIndicatorRenderer Constructor : TriangleNoteIndicatorRenderer Constructor(Color)


clr
Color of the focus indicator

Glossary Item Box

Creates a new renderer for the triangle indicator with the specified color and thickness.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal clr As Color _
)
Visual Basic (Usage)Copy Code
Dim clr As Color
 
Dim instance As New TriangleNoteIndicatorRenderer(clr)
C# 
public TriangleNoteIndicatorRenderer( 
   Color clr
)

Parameters

clr
Color of the focus indicator

Example

This example sets the color of the note indicator.
C#Copy Code
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);
Visual BasicCopy Code
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)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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