Creates and adds a new activity to the project. A respective object of type ActivityType is created and added to the underlying model as well.
Namespace: MindFusion.DataViews.Wpf
Assembly: MindFusion.DataViews.Wpf
C# Copy Code |
---|
public abstract IActivityViewModel CreateActivity ( |
Visual Basic Copy Code |
---|
Public MustOverride Function CreateActivity ( _ |
An IActivityViewModel representing the newly created activity, or null (Nothing in Visual Basic), if the operation could not be completed.