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


Glossary Item Box

Represents the cell note indicator color setting of the sheet style.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly NoteIndicatorColor As SheetStyleProperty
Visual Basic (Usage)Copy Code
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.NoteIndicatorColor
C# 
public static readonly SheetStyleProperty NoteIndicatorColor

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.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorColor);
     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
          b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteIndicatorColor)
     End If
End Sub

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.