MindFusion.Wpf Pack Programmer's Guide
IActivityViewModel Members
Properties Methods
 


Represents an activity in the ViewModel.

The following tables list the members exposed by the IActivityViewModel type.

 Public Properties

  Name Description

ActivityName

Gets or sets the name of the activity.

Duration

Gets or sets the duration of the activity.

EndTime

Gets or sets the end time of the activity.

IsCritical

Gets or sets a value indicating whether this activity is part of the critical path.

IsMilestone

Gets or sets a value indicating whether the activity is a milestone.

Parent

Gets the parent activity of this activity in the ViewModel.

Progress

Gets or sets the progress of the activity, expressed as a value in the range [0..1].

ResourceAllocations

Gets a list with objects describing the resources allocated for this activity.

ScheduleMode

Gets or sets a value indicating whether activities resize to the extent of their subactivities.

StartTime

Gets or sets the start time of the activity.

Subactivities

Gets the child activities of this activity in the ViewModel.

 Public Methods

  Name Description

AddModelChild

Adds the specified activity as a child to this activity in the underlying Model.

AddResourceAllocation

Adds the resource allocation to this activity.

AutoUpdate

Updates the activity according to its children.

BeginAutoUpdate

Indicates that an Auto activity will be updated according to its children.

EndAutoUpdate

Indicates that an Auto activity is no longer updated according to its children.

RaisePropertyChanged

Raises the PropertyChanged event on this activity.

RemoveModelChild

Removes the specified activity from the underlying Model.

RemoveResourceAllocation

Removes the resource allocation from this activity.

SetTimes

Sets both start time and duration to the specified values.

UpdateTimesFromAllocations

Invoked when the underlying resource allocations change to allow the activity to update its start and end time accordingly.

 See Also

IActivityViewModel Interface
MindFusion.DataViews.Wpf Namespace