Share via


ModelEditingScope.Complete Method

Completes the editing scope.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub Complete
'Usage
Dim instance As ModelEditingScope

instance.Complete()
public void Complete()
public:
void Complete()
public function Complete()

Exceptions

Exception Condition
InvalidOperationException

ModelEditingScope has already been completed or reverted.

Remarks

If the editing scope has already been reverted or completed, this will throw an InvalidOperationException. Calling the Complete method calls the protected OnComplete method.

.NET Framework Security

See Also

Reference

ModelEditingScope Class

ModelEditingScope Members

Microsoft.Windows.Design.Model Namespace

Other Resources

Walkthrough: Creating a Design-time Adorner

WPF Designer Extensibility