Spread Windows Forms 10.0 Product Documentation
LinkToolTips Property
Example 


Gets or sets tooltips for the hyperlinks.
Syntax
'Declaration
 
Public Property LinkToolTips As String()
'Usage
 
Dim instance As HyperLinkCellType
Dim value() As String
 
instance.LinkToolTips = value
 
value = instance.LinkToolTips
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.
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; 
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

HyperLinkCellType Class
HyperLinkCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.