MindFusion.Wpf Pack Programmer's Guide
ActivityChart.ScrollIntoView Method (IActivityViewModel, Boolean)
See Also
 





Scrolls to a given activity in the schedule grid taiking into considaration whethter the activity is visible within its parent.

Namespace: MindFusion.DataViews.Wpf
Assembly: MindFusion.DataViews.Wpf

 Syntax

C#  Copy Code

public void ScrollIntoView (
    IActivityViewModel activity,
    bool expandIfCollapsed
)

Visual Basic  Copy Code

Public Sub ScrollIntoView ( _
    activity As IActivityViewModel, _
    expandIfCollapsed As Boolean _
)

 Parameters

activity
The activity to scroll to.
expandIfCollapsed
If set to true the activity will be made visible in all cases; if set to false, if the activity is not visible due to a parent being collapsed, the view will scroll to the collapsed parent insted.

 Exceptions

Exception

Condition

ArgumentException

Thrown when the provided IActivityViewModel object is not part of the underlying IProjectViewModel.

ArgumentNullException

Thrown when the provided IActivityViewModel is null.

 See Also

ScrollIntoView Method Overload List
ActivityChart Members
ActivityChart Class
MindFusion.DataViews.Wpf Namespace