ModelItem.BeginEdit Method (String, Boolean)

.NET Framework (current version)

Opens an editing scope for the designer.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public virtual ModelEditingScope BeginEdit(
	string description,
	bool shouldApplyChangesImmediately


Type: System.String

An optional description of the change. This will be set into the Description property of the editing scope.

Type: System.Boolean

true to indicate that the changes should be applied immediately; otherwise, false.

Return Value

Type: System.Activities.Presentation.Model.ModelEditingScope

A ModelEditingScope, which must be either completed or reverted.

.NET Framework
Available since 4.5
Return to top