Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TriangleNoteIndicatorRenderer Class / Color Property
Example


In This Topic
    Color Property (TriangleNoteIndicatorRenderer)
    In This Topic
    Gets or sets the color of the solid focus indicator.
    Syntax
    'Declaration
     
    Public Property Color As Color
    'Usage
     
    Dim instance As TriangleNoteIndicatorRenderer
    Dim value As Color
     
    instance.Color = value
     
    value = instance.Color
    public Color Color {get; set;}
    Example
    This example sets the cell note color.
    fpSpread1.ActiveSheet.Cells[1, 1].Note = "That's a cell note";
    fpSpread1.ActiveSheet.Cells[1, 1].NoteIndicatorSize = new Size(6, 6);
    FarPoint.Win.Spread.TriangleNoteIndicatorRenderer note = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer();
    note.Color = System.Drawing.Color.Blue;
    fpSpread1.CellNoteIndicatorRenderer = note;
    FpSpread1.ActiveSheet.Cells(1, 1).Note = "That's a cell note"
    FpSpread1.ActiveSheet.Cells(1, 1).NoteIndicatorSize = New Size(6, 6)
    Dim note as New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer()
    note.Color = System.Drawing.Color.Blue
    FpSpread1.CellNoteIndicatorRenderer = note
    See Also