InfoPathEventType 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 type of event defined by an InfoPathEventHandlerAttribute.
public enum class InfoPathEventType
public enum InfoPathEventType
type InfoPathEventType =
Public Enum InfoPathEventType
- Inheritance
-
InfoPathEventType
Fields
Name | Value | Description |
---|---|---|
None | -1 | No type is specified. |
OnLoad | 0 | Specifies an event handler for an OnLoad event. |
OnSwitchView | 1 | Specifies an event handler for an OnSwitchView event. |
OnAfterImport | 2 | Specifies an event handler for an OnAfterImport event. |
OnSubmitRequest | 3 | Specifies an event handler for an OnSubmitRequest event. |
OnVersionUpgrade | 4 | Specifies an event handler for an OnVersionUpgrade event. |
OnMergeRequest | 5 | Specifies an event handler for an OnMergeRequest event. |
OnSaveRequest | 6 | Specifies an event handler for an OnSaveRequest event. |
OnSign | 7 | Specifies an event handler for an OnSign event. |
OnContextChange | 8 | Specifies an event handler for an OnContextChange event. |
OnBeforeChange | 9 | Specifies an event handler for an OnBeforeChange event. |
OnAfterChange | 10 | Specifies an event handler for an OnAfterChange event. |
OnValidate | 11 | Specifies an event handler for an OnValidate event. |
OnClick | 12 | Specifies an event handler for an OnClick event. |
Remarks
Important: To prevent errors in the specification of the InfoPathEventHandler attribute for an event handler, you should only use InfoPath user interface commands to add the stub for event handler code. For more information, see How to: Add an Event Handler.