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


Glossary Item Box

Gets or sets the default color for the note indicator for cells in this row.

Syntax

Visual Basic (Declaration) 
Public Property NoteIndicatorColor As Color
Visual Basic (Usage)Copy Code
Dim instance As AlternatingRow
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 note indicator

Example

This example specifies the color of the note indicator for the alternating row.
C#Copy Code
fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating;
fpSpread1.ActiveSheet.SetNote(0, 0, "Currently out-of-stock");
fpSpread1.ActiveSheet.AlternatingRows[0].NoteIndicatorColor = Color.Green;
Visual BasicCopy Code
FpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating
FpSpread1.ActiveSheet.SetNote(0, 0, "Currently out-of-stock")
FpSpread1.ActiveSheet.AlternatingRows(0).NoteIndicatorColor = Color.Green

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.