WinReportServiceController.CreateCustomXafReportVerbsManager Event

Occurs when the XafReportVerbsManager object is created for the Report Designer.

Namespace: DevExpress.ExpressApp.Reports.Win

Assembly: DevExpress.ExpressApp.Reports.Win.v18.2.dll

Declaration

public event EventHandler<CreateCustomXafReportVerbsManagerEventArgs> CreateCustomXafReportVerbsManager
Public Event CreateCustomXafReportVerbsManager As EventHandler(Of CreateCustomXafReportVerbsManagerEventArgs)

The event handler receives an argument of the DevExpress.ExpressApp.Reports.Win.CreateCustomXafReportVerbsManagerEventArgs type.

Handle this event to provide custom implementation of an XafReportVerbsManager object by setting an instance of this object to the handler's Manager parameter. Set the Handled parameter to true to disable use of the default XafReportVerbsManager. The XafReportVerbsManager class extends the standard list of verbs and adds the ExportLayout and ImportLayout commands to the Report Designer. You can set Manager to null (Nothing in VB) to disable the extension.

The XtraReport.Name property is automatically loaded in the Report Designer when the Import layout from file command is executed. This ensures avoiding the situation when the REPX file is created from a report with a modified XtraReport.Name value and the modified name was used in scripts. Use the CreateCustomXafReportVerbsManager event if you want to customize this behavior.

See Also