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