Share via


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
'Usage

Property Value

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 Office InfoPath 2007 or in a Web browser.

See Also

Reference

XmlEventArgs Class
XmlEventArgs Members
Microsoft.Office.InfoPath Namespace