Spread Windows Forms 12.0 Product Documentation
VisitedLinkColor Property (HyperLinkCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > HyperLinkCellType Class : VisitedLinkColor Property
Gets or sets the color of visited links.
Syntax
'Declaration
 
Public Property VisitedLinkColor As Color
'Usage
 
Dim instance As HyperLinkCellType
Dim value As Color
 
instance.VisitedLinkColor = value
 
value = instance.VisitedLinkColor
public Color VisitedLinkColor {get; set;}

Property Value

Color object containing the color of the visited link
Remarks
For the color of the link before it has been visited, refer to LinkColor property.
Example
This example shows the use of the hyperlink cell properties.
FarPoint.Win.Spread.CellType.HyperLinkCellType hlnkcell = new FarPoint.Win.Spread.CellType.HyperLinkCellType();
hlnkcell.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\\images\\mail16a.ico"));
hlnkcell.Link = "http://www.fpoint.com"; 
hlnkcell.LinkArea = new LinkArea(9,16);
hlnkcell.LinkColor = Color.DarkRed;
hlnkcell.Text = "Click to See Our Web Site.";
hlnkcell.VisitedLinkColor = Color.Gray;
fpSpread1.Sheets[0].Cells[7,2].CellType = hlnkcell;
Dim hlnkcell As New FarPoint.Win.Spread.CellType.HyperLinkCellType()
hlnkcell.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\images\mail16a.ico"))
hlnkcell.Link = "http://www.fpoint.com"
hlnkcell.LinkArea = new LinkArea(9,16)
hlnkcell.LinkColor = Color.DarkRed
hlnkcell.Text = "Click to See Our Web Site."
hlnkcell.VisitedLinkColor = Color.Gray
fpSpread1.Sheets(0).Cells(7,2).CellType = hlnkcell
See Also

Reference

HyperLinkCellType Class
HyperLinkCellType Members