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


In This Topic
    Column Property (ScrollTipFetchEventArgs)
    In This Topic
    Gets the new left column index. If the user changes the vertical scrollbar, this value is -1.
    Syntax
    'Declaration
     
    Public ReadOnly Property Column As Integer
    'Usage
     
    Dim instance As ScrollTipFetchEventArgs
    Dim value As Integer
     
    value = instance.Column
    public int Column {get;}

    Property Value

    Integer column index
    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