Spread Windows Forms 7.0 Product Documentation
TextTipAppearance Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : TextTipAppearance Property


Glossary Item Box

Gets or sets the appearance of text tips in the view.

Syntax

Visual Basic (Declaration) 
Public Property TextTipAppearance As TipAppearance
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As TipAppearance
 
instance.TextTipAppearance = value
 
value = instance.TextTipAppearance
C# 
public TipAppearance TextTipAppearance {get; set;}

Property Value

TipAppearance setting that determines the appearance of the text tip

Remarks

The appearance of the default text tips is determined by your system settings and some other default settings. Use this property to customize the appearance.

Example

This example customizes the appearance of the text tip.
C#Copy Code
FarPoint.Win.Spread.TipAppearance app = new FarPoint.Win.Spread.TipAppearance();
app.BackColor = Color.Yellow;
app.Font = new Font("Comic Sans MS", 12);
app.ForeColor = Color.Red;

fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating;
fpSpread1.ActiveSheet.Cells[0, 0].Text = "Text Tip Appearance";
fpSpread1.TextTipAppearance = app;
Visual BasicCopy Code
Dim app As New FarPoint.Win.Spread.TipAppearance
app.BackColor = Color.Yellow
app.Font = New Font("Comic Sans MS", 12)
app.ForeColor = Color.Red

FpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating
FpSpread1.ActiveSheet.Cells(0, 0).Text = "Text Tip Appearance"
FpSpread1.TextTipAppearance = app

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.