DocContextChangeEvent Members

Include Protected Members
Include Inherited Members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeDocContextChangeEventObject.

The DocContextChangeEvent type exposes the following members.

Properties

  Name Description
Public property Context Gets a reference to the XML Document Object Model (DOM) node that is the new context node provided by DocContextChangeEventObject object.
Public property IsUndoRedo Gets a value indicating whether the context change event occurred in response to undoing an operation or redoing an operation.
Public property Type Gets the type of context change event that occurred when the OnContextChange event was triggered.
Public property XDocument Gets a reference to the XDocument object that is associated with the DocContextChangeEventObject object in an OnContextChange event.
Public property XDocument Gets a reference to the XDocument object that is associated with the DocEventObject object during an OnSwitchView or OnAfterImport event. (Inherited from DocEvent.)

Top

See Also

Reference

DocContextChangeEvent Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace