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


Glossary Item Box

Gets or sets the color of the solid focus indicator.

Syntax

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

Example

This example sets the cell note color.
C#Copy Code
fpSpread1.ActiveSheet.Cells[1, 1].Note = "That's a cell note";
fpSpread1.ActiveSheet.Cells[1, 1].NoteIndicatorSize = new Size(6, 6);
FarPoint.Win.Spread.TriangleNoteIndicatorRenderer note = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer();
note.Color = System.Drawing.Color.Blue;
fpSpread1.CellNoteIndicatorRenderer = note;
VB.NETCopy Code
FpSpread1.ActiveSheet.Cells(1, 1).Note = "That's a cell note"
FpSpread1.ActiveSheet.Cells(1, 1).NoteIndicatorSize = New Size(6, 6)
Dim note as New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer()
note.Color = System.Drawing.Color.Blue
FpSpread1.CellNoteIndicatorRenderer = note

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.