Edit

Share via


EventManager.FormEvents Property

Definition

Gets a FormEvents object for binding an event handler in the InternalStartup method of a form template.

public:
 abstract property Microsoft::Office::InfoPath::FormEvents ^ FormEvents { Microsoft::Office::InfoPath::FormEvents ^ get(); };
public abstract Microsoft.Office.InfoPath.FormEvents FormEvents { get; }
member this.FormEvents : Microsoft.Office.InfoPath.FormEvents
Public MustOverride ReadOnly Property FormEvents As FormEvents

Property Value

A FormEvents object for binding an event handler in the InternalStartup method of a form template.

Remarks

Important: The InternalStartup method and the event binding code within it are generated by InfoPath when you add event handlers using various user interface commands. You should not create the InternalStartup method or write any additional code within it yourself. For information about how to add event handlers using interface commands, see How to: Add an Event Handler.

Applies to