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


Glossary Item Box

Gets or sets the color for the note indicator for a cell.

Syntax

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

Property Value

Color object containing the color of the cell note indicator

Example

This example sets the color of the note for the specified cell.
C#Copy Code
fpSpread1.Sheets[0].Cells[0, 0].NoteStyle = FarPoint.Win.Spread.NoteStyle.PopupNote;
fpSpread1.Sheets[0].Cells[0, 0].Note = "Test";
fpSpread1.Sheets[0].Cells[0, 0].NoteIndicatorColor = Color.DarkMagenta;
Visual BasicCopy Code
FpSpread1.Sheets(0).Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.PopupNote
FpSpread1.Sheets(0).Cells(0, 0).Note = "Test"
FpSpread1.Sheets(0).Cells(0, 0).NoteIndicatorColor = Color.DarkMagenta

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.