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
None | -1 | No type is specified. |
OnAfterChange | 10 | Specifies an event handler for an OnAfterChange event. |
OnAfterImport | 2 | Specifies an event handler for an OnAfterImport event. |
OnBeforeChange | 9 | Specifies an event handler for an OnBeforeChange event. |
OnClick | 12 | Specifies an event handler for an OnClick event. |
OnContextChange | 8 | Specifies an event handler for an OnContextChange event. |
OnLoad | 0 | Specifies an event handler for an OnLoad 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. |
OnSubmitRequest | 3 | Specifies an event handler for an OnSubmitRequest event. |
OnSwitchView | 1 | Specifies an event handler for an OnSwitchView event. |
OnValidate | 11 | Specifies an event handler for an OnValidate event. |
OnVersionUpgrade | 4 | Specifies an event handler for an OnVersionUpgrade 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for