Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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