Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ScrollTipFetchEventArgs Class / ShowTip Property
Example


In This Topic
    ShowTip Property (ScrollTipFetchEventArgs)
    In This Topic
    Gets or sets whether to show the scroll tip.
    Syntax
    'Declaration
     
    Public Property ShowTip As Boolean
    'Usage
     
    Dim instance As ScrollTipFetchEventArgs
    Dim value As Boolean
     
    instance.ShowTip = value
     
    value = instance.ShowTip
    public bool ShowTip {get; set;}

    Property Value

    Boolean value: true to display the scroll tip; false to hide it
    Example
    This example sets the text for the scroll tip.
    fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both;
    
    private void fpSpread1ScrollTipFetch(object sender, FarPoint.Win.Spread.ScrollTipFetchEventArgs e)
    {
         e.ShowTip = true;
         e.TipText = "Scrolling to column " + e.Column.ToString();
    }
    fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both
    
    Private Sub fpSpread1ScrollTipFetch(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ScrollTipFetchEventArgs) Handles
    fpSpread1.ScrollTipFetch
         e.ShowTip = True
         e.TipText = "Scrolling to column " + e.Column.ToString()
    End Sub
    See Also