For a list of all members of this type, see Viewer members.
| Name | Description |
 | Action | Occurs when a report item, configured with an interactive action, is clicked within the report preview control. |
 | ErrorOccured | Occurs when an error occurs within the viewer. This event provides detailed information about the error, allowing for custom error handling or logging. |
 | Find | Occurs when the Find dialog successfully locates the specified text within the document. |
 | HyperLink | Occurs when the user clicks on text or an image that has a hyperlink assigned to it. |
 | LoadCompleted | Occurs after the document has been fully loaded and rendered in the viewer. public partial class MyForm : Form { private Viewer viewer; public MyForm() { InitializeComponent(); // Initialize the viewer viewer = new Viewer(); this.Controls.Add(viewer); // Subscribe to the LoadCompleted event viewer.LoadCompleted += Viewer_LoadCompleted; } private void Viewer_LoadCompleted(object sender, EventArgs e) { // Handle the LoadCompleted event // For example, update the status bar with the total number of pages statusBarLabel.Text = $"Total Pages: {viewer.Document.Pages.Count}"; } } |
 | RefreshReport | Occurs before the report refreshes. This event is triggered in several scenarios, including: - Opening a new report. - Performing actions such as toggling, sorting, or executing drill-through actions within the report. - Interacting with the UI to view the report (e.g., using the parameters panel), toggling galley mode, refreshing the report, or navigating back to a parent report in a drill-through scenario. In the absence of any errors, this event precedes the LoadCompleted event. |
 | TableOfContentsAfterSelect | Occurs after an item is selected in the table of contents treeview. |
 | TableOfContentsClick | Occurs when the user clicks an item in the table of contents treeview. |
 | TableOfContentsSelectedIndexChanged | Occurs when the index of the currently selected item in the table of contents changes. |
 | ZoomChanged | Occurs when the zoom level of the viewer changes. |
Top