Spread Windows Forms 7.0 Product Documentation
LinkToolTips Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > HyperLinkCellType Class : LinkToolTips Property


Glossary Item Box

Gets or sets tool tips for the hyperlinks.

Syntax

Visual Basic (Declaration) 
Public Property LinkToolTips As String()
Visual Basic (Usage)Copy Code
Dim instance As HyperLinkCellType
Dim value() As String
 
instance.LinkToolTips = value
 
value = instance.LinkToolTips
C# 
public string[] LinkToolTips {get; set;}

Remarks

The tool tip will not appear if the link is hidden by cell padding.

Example

This example sets the LinkToolTips property.
C#Copy Code
FarPoint.Win.Spread.CellType.HyperLinkCellType hlnkcell = new FarPoint.Win.Spread.CellType.HyperLinkCellType(); 
hlnkcell.Text = "Click Here";
hlnkcell.Link ="http://www.fpoint.com";
hlnkcell.LinkArea = new LinkArea(0,10);
hlnkcell.LinkColor = Color.DarkGreen;
hlnkcell.VisitedLinkColor = Color.Chartreuse;
hlnkcell.LinkToolTips = (new String[] {"to see our web site"});
fpSpread1.ActiveSheet.Cells[1, 1].CellType = hlnkcell; 
Visual BasicCopy Code
Dim hlnkcell As New FarPoint.Win.Spread.CellType.HyperLinkCellType()
hlnkcell.Text = "Click Here"
hlnkcell.Link = "http://www.fpoint.com"
hlnkcell.LinkArea = New LinkArea(0, 10)
hlnkcell.LinkColor = Color.DarkGreen
hlnkcell.VisitedLinkColor = Color.Chartreuse
hlnkcell.LinkToolTips = New String() {"to see our web site"}
FpSpread1.ActiveSheet.Cells(1, 1).CellType = hlnkcell

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.