Spread Windows Forms 12.0 Product Documentation
TipAppearance Constructor(Color,Color,Font)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TipAppearance Class > TipAppearance Constructor : TipAppearance Constructor(Color,Color,Font)
Background color of text tips and cell notes (not scroll tips)
Foreground (text) color for text tips, scroll tips, and cell notes

Font of text for text tips, scroll tips, and cell notes

Creates a set of appearance settings, for various tips in the interface, with the specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal backColor As Color, _
   ByVal foreColor As Color, _
   ByVal font As Font _
)
'Usage
 
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
 
Dim instance As New TipAppearance(backColor, foreColor, font)
public TipAppearance( 
   Color backColor,
   Color foreColor,
   Font font
)

Parameters

backColor
Background color of text tips and cell notes (not scroll tips)
foreColor
Foreground (text) color for text tips, scroll tips, and cell notes
font

Font of text for text tips, scroll tips, and cell notes

Remarks
Initializes an instance of the TipAppearance class with the specified colors and font.
Example
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
See Also

Reference

TipAppearance Class
TipAppearance Members
Overload List