ModelEditingScope.OnRevert Method

Performs the actual revert of the editing scope.

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

Syntax

'Declaration
Protected MustOverride Sub OnRevert ( _
    finalizing As Boolean _
)
protected abstract void OnRevert(
    bool finalizing
)
protected:
virtual void OnRevert(
    bool finalizing
) abstract
abstract OnRevert : 
        finalizing:bool -> unit 
protected abstract function OnRevert(
    finalizing : boolean
)

Parameters

  • finalizing
    Type: System.Boolean
    true if the abort occurs because the object is being finalized. Some undo systems may try to abort in this case, while others may abandon the change and record it as a reactive undo.

.NET Framework Security

See Also

Reference

ModelEditingScope Class

Microsoft.Windows.Design.Model Namespace

Other Resources

Walkthrough: Creating a Design-time Adorner

WPF Designer Extensibility