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


Glossary Item Box

Gets or sets the color of the cell note indicator.

Syntax

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

Property Value

Color object containing the color of the cell note indicator

Example

This example sets the note color for the style information.
C#Copy Code
FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();

info.NoteIndicatorColor = Color.DarkBlue;
fpSpread1.ActiveSheet.DefaultStyle = info;
fpSpread1.ActiveSheet.Cells[0, 0].Note = "VP - Marketing";

private void button1Click(object sender, System.EventArgs e)
{
     bool b;
     b = info.IsNoteIndicatorColorSet();
     if (b == true)
     {
          info.ResetNoteIndicatorColor()
     }
}
Visual BasicCopy Code
Dim info As New FarPoint.Win.Spread.StyleInfo

info.NoteIndicatorColor = Color.DarkBlue
fpSpread1.ActiveSheet.DefaultStyle = info
fpSpread1.ActiveSheet.Cells(0, 0).Note = "VP - Marketing"

Private Sub Button1Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
     Dim b As Boolean
     b = info.IsNoteIndicatorColorSet()
     If b = True Then
          info.ResetNoteIndicatorColor()
     End If
End Sub

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.