PowerTools SPREAD for Windows Forms 8.0J
LinkColor プロパティ (HyperLinkCellType)


リンクの色を取得または設定します。
構文
'Declaration
 
Public Property LinkColor As Color
'使用法
 
Dim instance As HyperLinkCellType
Dim value As Color
 
instance.LinkColor = value
 
value = instance.LinkColor
public Color LinkColor {get; set;}

プロパティ値

リンクの色を含む Color オブジェクト
解説
すでに表示(クリック)したリンクの色については、VisitedLinkColorプロパティを参照してください。
次のサンプルコードは、ハイパーリンク型セルのプロパティの使用方法を示します。
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
参照

HyperLinkCellType クラス
HyperLinkCellType メンバ
VisitedLinkColor プロパティ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.