OnClick Method

Called when the user activates the control.

protected virtual void OnClick(
   e
)

Parameters

  • e
    An object defined by an EventArgs object that contains event data.

Remarks

The default implementation raises the Click event. Inheriting classes can override this method to perform other tasks.

See Also

Applies to: Command Class