Occurs when the name of an XAF report is determined.
public static event EventHandler<QueryRootReportComponentNameEventArgs> QueryRootReportComponentName
Public Shared Event QueryRootReportComponentName As EventHandler(Of QueryRootReportComponentNameEventArgs)
The QueryRootReportComponentName event handler receives an argument of the QueryRootReportComponentNameEventArgs type. The following properties provide information specific to this event.
Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.
(Inherited from HandledEventArgs)
|Name||Specifies the name of the created report.|
|Report||Gets the created XafReport object.|
By default, the SNameCreationService.CreateNameByType method is used to generate a report name. As the default report type is XafReport, the default name is "XafReport". Handle this event to provide a custom report name.