XmlEventArgs.UndoRedo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the node being changed is part of an undo or redo operation.
public:
abstract property bool UndoRedo { bool get(); };
public abstract bool UndoRedo { get; }
member this.UndoRedo : bool
Public MustOverride ReadOnly Property UndoRedo As Boolean
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 InfoPath Filler or in a Web browser.