ActionType Enum
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.
Specifies the editing command to be performed by the ExecuteAction(ActionType) method.
public enum class ActionType
public enum ActionType
type ActionType =
Public Enum ActionType
- Inheritance
-
ActionType
Fields
Name | Value | Description |
---|---|---|
Copy | 0 | Copies the selected data to the clipboard. |
Paste | 1 | Copies data from the clipboard to the insertion point. |
Cut | 2 | Removes the selected data and copies it to the clipboard. |
Delete | 3 | Deletes the selected data. |
XCollectionInsert | 4 | Inserts 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. |
XCollectionInsertBefore | 5 | Inserts 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. |
XCollectionInsertAfter | 6 | Inserts 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. |
XCollectionRemove | 7 | Deletes 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. |
XCollectionRemoveAll | 8 | Deletes 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. |
XCollectionRefreshFilter | 9 | Refreshes the filter for the selected Repeating Table or Repeating Section control using the xCollection editing component. |
XOptionalInsert | 10 | Inserts 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. |
XOptionalRemove | 11 | Deletes 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. |
XReplaceReplace | 12 | Replaces 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. |
XFileAttachmentOpen | 13 | Opens 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. |
XFileAttachmentSaveAs | 14 | Opens the Save As dialog box to specify where to save the file attached to the selected File Attachment control using the xFileAttachment editing component. |
XFileAttachmentRemove | 15 | Removes the file attached to the selected File Attachment control using the xFileAttachment editing component. |
XFileAttachmentAttach | 16 | Opens the Attach File dialog box to specify the file to attach for the selected File Attachment control using the xFileAttachment editing component. |
Remarks
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.