Export (0) Print
Expand All

ActionType Enumeration

Specifies the editing command to be performed by the ExecuteAction method.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

 Member nameDescription
CopyCopies the selected data to the clipboard.  
CutRemoves the selected data and copies it to the clipboard. 
DeleteDeletes the selected data. 
PasteCopies data from the clipboard to the insertion point. 
XCollectionInsertInserts data based on the selected context using the xCollection editing component. If current selection is within a container of the xCollection, specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is appended within that container. 
XCollectionInsertAfterInserts data after the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is inserted after that item. 
XCollectionInsertBeforeInserts data before the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is inserted before that item. 
XCollectionRefreshFilterRefreshes the filter for the selected Repeating Table or Repeating Section control using the xCollection editing component. 
XCollectionRemoveDeletes data from the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then that item is deleted. 
XCollectionRemoveAllDeletes all data contained within the selected context using the xCollection editing component. If current selection is within a container of the xCollection, as specified by the xmlToEdit element in the .xsf, then this action deletes all the items within that container. 
XFileAttachmentAttachOpens the Attach File dialog box to specify the file to attach for the selected File Attachment control using the xFileAttachment editing component. 
XFileAttachmentOpenOpens the file attached to the selected File Attachment control using the xFileAttachment editing component. The form template must be configured as Full Trust for this editing command to succeed. 
XFileAttachmentRemoveRemoves the file attached to the selected File Attachment control using the xFileAttachment editing component. 
XFileAttachmentSaveAsOpens the Save As dialog box to specify where to save the file attached to the selected File Attachment control using the xFileAttachment editing component. 
XOptionalInsertInserts data based on the selected context using the xOptional editing component. If current selection is within a container of the xOptional, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is appended within that container. 
XOptionalRemoveDeletes data from the selected context using the xOptional editing component. If current selection is within an item of the xOptional, as specified by its xmlToEdit element in the .xsf, then that item is deleted. 
XReplaceReplaceReplaces the data in the selected context using the xReplace editing component. If current selection is within an item of the xReplace, as specified by its xmlToEdit element in the .xsf, then that item is replaced by the fragmentToInsert element data. 

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

Community Additions

Show:
© 2014 Microsoft