FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > TipAppearance クラス > TipAppearance コンストラクタ : TipAppearance コンストラクタ(Color,Color,Font) |
テキストヒント、スクロールヒント、およびセルのメモのテキストのフォント
テキストヒント、スクロールヒント、およびセルのメモのテキストのフォント
private void fpSpread1_TextTipFetch(object sender, FarPoint.Win.Spread.TextTipFetchEventArgs e) { FarPoint.Win.Spread.TipAppearance ta = new FarPoint.Win.Spread.TipAppearance(Color.Yellow, Color.Red, new Font("Comic Sans MS", 10)); FarPoint.Win.Spread.TipAppearance ta1 = new FarPoint.Win.Spread.TipAppearance(); ta1.CopyFrom(ta); e.View.TextTipAppearance = ta1; }
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(Color.Yellow, Color.Red, New Font("Comic Sans MS", 10)) Dim ta1 As New FarPoint.Win.Spread.TipAppearance ta1.CopyFrom(ta) e.View.TextTipAppearance = ta1 End Sub