MESCIUS SPREAD for Windows Forms 17.0J
ForeColor プロパティ (TipAppearance)

ポップアップヒントのテキスト色を取得または設定します。
構文
'Declaration
 
Public Property ForeColor As Color
public Color ForeColor {get; set;}

プロパティ値

テキスト チップのテキスト色を含む Color オブジェクト
次のサンプルコードは、ポップアップヒントの外観を決定するいくつかのプロパティの設定を示します。
private void fpSpread1_TextTipFetch(object sender, FarPoint.Win.Spread.TextTipFetchEventArgs e)
{
FarPoint.Win.Spread.TipAppearance ta = new FarPoint.Win.Spread.TipAppearance();
ta.BackColor = Color.Yellow;
ta.Font = new Font("Comic Sans MS", 10);
ta.ForeColor = Color.Red;
e.View.TextTipAppearance = ta;
}
Private Sub fpSpread1_TextTipFetch(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.TextTipFetchEventArgs) Handles fpSpread1.TextTipFetch
Dim ta As New FarPoint.Win.Spread.TipAppearance
ta.BackColor = Color.Yellow
ta.Font = New Font("Comic Sans MS", 10)
ta.ForeColor = Color.Red
e.View.TextTipAppearance = ta
End Sub
参照

TipAppearance クラス
TipAppearance メンバ

開発者ガイド

テキストチップ

 

 


© MESCIUS inc. All rights reserved.