Spread Windows Forms 6.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 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.