Creates and adds a new activity to the project.
Namespace: MindFusion.DataViews.Wpf
Assembly: MindFusion.DataViews.Wpf
C# Copy Code |
---|
public abstract IActivityViewModel DoCreateActivity ( |
Visual Basic Copy Code |
---|
Public MustOverride Function DoCreateActivity ( _ |
An IActivityViewModel representing the newly created activity, or null (Nothing in Visual Basic), if the operation could not be completed.
This method is not subject to undo/redo and should not be invoked directly. Instead, call the CreateActivity method, which will register the operation for subsequent undo.