Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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