XmlChangingEventArgs.CancelableArgs property

Office 2013 and later

Gets an XmlFormCancelEventArgs object associated with the event.

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

public abstract XmlFormCancelEventArgs CancelableArgs { get; }

Property value

Type: Microsoft.Office.InfoPath.XmlFormCancelEventArgs
An XmlFormCancelEventArgs object that provides access to the Cancel property for cancelling the event.

To cancel the event, set CancelableArgs.Cancel to true.

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

Show: