MindFusion.Wpf Pack Programmer's Guide
IActivityViewModel.SetTimes Method
See Also
 





Sets both start time and duration to the specified values.

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

 Syntax

C#  Copy Code

void SetTimes (
    DateTime start,
    TimeSpan duration,
    bool updateAllocations
)

Visual Basic  Copy Code

Sub SetTimes( _
    start As DateTime, _
    duration As TimeSpan, _
    updateAllocations As Boolean _
)

 Parameters

start

The new start time of the activity.

duration

The new duration of the activity.

updateAllocations
Specifies whether to adjust the resource allocations of this activity to cover the same relative length as before the change.

 See Also

IActivityViewModel Members
IActivityViewModel Interface
MindFusion.DataViews.Wpf Namespace