Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / TextTipAppearance Property
Example


In This Topic
    TextTipAppearance Property (FpSpread)
    In This Topic
    Gets or sets the appearance of text tips in the view.
    Syntax
    'Declaration
     
    Public Property TextTipAppearance As TipAppearance
    'Usage
     
    Dim instance As FpSpread
    Dim value As TipAppearance
     
    instance.TextTipAppearance = value
     
    value = instance.TextTipAppearance
    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.
    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;
    
    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
    See Also