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;} |
The tool tip will not appear if the link is hidden by cell padding.
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 Basic | Copy 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 |
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