_ButtonEventSink_Event members

Office 2013 and later

A Button control in a Microsoft InfoPath form template is used to implement an event handler for the OnClick event, and cannot be used directly in code.

The _ButtonEventSink_Event type exposes the following members.

  Name Description
Public event OnClick Occurs when a Button control is clicked within a view in a Microsoft InfoPath form.