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
public void Complete()
public:
void Complete()
member Complete : unit -> unit 
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

Microsoft.Windows.Design.Model Namespace

Other Resources

Walkthrough: Creating a Design-time Adorner

WPF Designer Extensibility