ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / ReportChanged Event
Example

In This Topic
    ReportChanged Event
    In This Topic
    Occurs when any modification is made to the report, such as changes to the design, data sources, or properties.
    Syntax
    'Declaration
     
    Public Event ReportChanged As EventHandler
    public event EventHandler ReportChanged
    Remarks
    This event is a broad notification that the report has been altered in some way. It can be triggered by a variety of actions, including but not limited to adding or removing report elements, modifying properties, or changing the report's data source. Handlers for this event can be used to implement functionality such as enabling save operations, refreshing previews, or updating UI elements to reflect the changes made to the report.
    Example
    // Subscribe to the ReportChanged event to react to changes in the report.
    // For instance, enabling a 'Save' button to indicate that unsaved changes are present.
    designer.ReportChanged += (sender, args) => {
    saveButton.Enabled = true;
    };
    See Also