Spread Windows Forms 10.0 Product Documentation
NoteIndicatorColor Field
Example 


Represents the cell note indicator color setting of the sheet style.
Syntax
'Declaration
 
Public Shared ReadOnly NoteIndicatorColor As SheetStyleProperty
'Usage
 
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.NoteIndicatorColor
public static readonly SheetStyleProperty NoteIndicatorColor
Example
This example sets the note color for the style information.
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()
     }
}
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetStyleProperty Class
SheetStyleProperty Members

 

 


Copyright © GrapeCity, inc. All rights reserved.