ReportViewer.PageSettingsChanged Event

 

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)

Syntax

public event EventHandler PageSettingsChanged
public:
event EventHandler^ PageSettingsChanged {
    void add(EventHandler^ value);
    void remove(EventHandler^ value);
}
member PageSettingsChanged : IEvent<EventHandler,
    EventArgs>
Public Event PageSettingsChanged As EventHandler

Remarks

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 NIB: Consuming Events.

See Also

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top