To help developers to make their reporting experience more flexible, responsive and customizable, the report viewers provide event handlers for three types of events that are associated with interactive actions – Executing, Enter and Leave.
InteractiveActionExecuting event is raised when an interactive action is being triggered, but not yet executed. This provides the ability to cancel the event execution due to some condition.
InteractiveActionEnter event is raised when the mouse cursor enters the area of a report item that has an interactive action defined.
InteractiveActionLeave event is raised when the mouse cursor leaves the area of a report item that has an interactive action defined.
All the events provide arguments that contain a reference to the underlying IAction instance and its properties, evaluated during report processing.
Based on the used report viewer, the arguments can contain also:
The coordinates of the mouse cursor in pixels at the time of raising the event (for WinForms, WPF and SilverLight viewers). These coordinates are relative to the report item that triggered the action.
When the InteractiveActionLeave() event is raised, these coordinates are empty.
The client bounds of the current report item in pixels (for WinForms, WPF and SilverLight viewers).
For more information please refer to the related articles about each report viewer: