ComponentOne MultiSelect for WinForms
BeforeAction Event

C1.Win.C1Input Namespace > C1DbNavigator Class : BeforeAction Event
Occurs when a button is clicked, before the action is executed.
Syntax
'Declaration
 
Public Event BeforeAction As NavigatorBeforeActionEventHandler
public event NavigatorBeforeActionEventHandler BeforeAction
Event Data

The event handler receives an argument of type NavigatorBeforeActionEventArgs containing data related to this event. The following NavigatorBeforeActionEventArgs properties provide information specific to this event.

PropertyDescription
The clicked button.  
This argument is False by default. If you set it to True in your event code, the navigator control will skip the standard action associated with the button.  
Current row index in the data source (only for Delete and Edit buttons).  
See Also