ReportViewer.PageSettingsChanged Event

Visual Studio 2010

Occurs when the margins or the page size for the current report in the ReportViewer control have changed.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

public event EventHandler PageSettingsChanged
/** @event */
public void add_PageSettingsChanged (EventHandler value)

/** @event */
public void remove_PageSettingsChanged (EventHandler value)

JScript supports the use of events, but not the declaration of new ones.

This event can occur when page settings for the current report are changed by the SetPageSettings method, when the user modifies the page settings in the Page Setup dialog box and clicks the OK button, or when the report definition changes, such as when the user navigates to a drillthrough report. Information about this event is passed in a EventArgs object to the EventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.