XmlEventArgs.UndoRedo property

Gets a value that indicates whether the node being changed is part of an undo or redo operation.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property UndoRedo As Boolean
    Get
'Usage
Dim instance As XmlEventArgs
Dim value As Boolean

value = instance.UndoRedo
public abstract bool UndoRedo { get; }

Property value

Type: System.Boolean
true if the node being changed is part of an undo or redo operation; otherwise false.

Remarks

When an undo or a redo operation takes place, the form's underlying XML document is placed in a read-only state and cannot be modified. If this occurs during a Changed event, the UndoRedo property can be used to bypass the data validation logic contained in the handler for the event.

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See also

Reference

XmlEventArgs class

XmlEventArgs members

Microsoft.Office.InfoPath namespace