Export (0) Print
Expand All

EventManager.ControlEvents property

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

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract ControlEvents ControlEvents { get; }

Property value

Type: Microsoft.Office.InfoPath.ControlEvents
A ControlEvents object for binding an event handler in the InternalStartup method of a form template.

Important noteImportant

The InternalStartup method and the event binding code within it are generated by InfoPath when you add event handlers using various user interface commands when designing the form template. 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.

Show:
© 2014 Microsoft