GanttView for WPF | ComponentOne
C1.WPF.GanttView.4.6.2 Assembly / C1.WPF.GanttView Namespace / C1GanttView Class / ScrollToTask Method / ScrollToTask(BaseTask,Boolean) Method
The task that's scrolled to.
Indicates whether scroll to beginning of the task or not.

In This Topic
    ScrollToTask(BaseTask,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 BaseTask, _
       ByVal scrollToBeginning As Boolean _
    ) 
    public void ScrollToTask( 
       BaseTask task,
       bool scrollToBeginning
    )

    Parameters

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