ComponentOne GanttView for WinForms
C1.Win.GanttView.8 Assembly / C1.Win.GanttView Namespace / C1GanttView Class / ScrollToTask Method / ScrollToTask(Task,Boolean) Method
The task that's scrolled to.
Indicates whether scroll to begining of the task or not.

In This Topic
    ScrollToTask(Task,Boolean) Method
    In This Topic
    Scrolls the grid and chart views so that the specified task becomes visible.
    Syntax
    'Declaration
     
    Public Overloads Sub ScrollToTask( _
       ByVal task As Task, _
       ByVal scrollToBegining As System.Boolean _
    ) 
    public void ScrollToTask( 
       Task task,
       System.bool scrollToBegining
    )

    Parameters

    task
    The task that's scrolled to.
    scrollToBegining
    Indicates whether scroll to begining of the task or not.
    See Also