Spread Windows Forms 8.0 Product Documentation
Color Property (TriangleNoteIndicatorRenderer)
Example 


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
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

Reference

TriangleNoteIndicatorRenderer Class
TriangleNoteIndicatorRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.