xtrareports-js-aspxclientreportdesignercustomizewizardeventargs.md
Provides data for the ASPxClientReportDesigner.CustomizeWizard event.
declare class ASPxClientReportDesignerCustomizeWizardEventArgs extends ASPxClientEventArgs
ASPxClientReportDesignerCustomizeWizardEventArgs objects are automatically created, initialized and passed to corresponding event handlers.
ASPxClientEventArgs ASPxClientReportDesignerCustomizeWizardEventArgs
Initializes a new instance of the ASPxClientReportDesignerCustomizeWizardEventArgs class with the specified settings.
constructor(
type: DevExpress.Reporting.Designer.Wizard.WizardTypeString,
wizard: DevExpress.Reporting.Designer.Wizard.WizardType
)
| Name | Type | Description |
|---|---|---|
| type | WizardTypeString |
The wizard type. This value is assigned to the Type property.
| | wizard | WizardType |
The wizard object. This value is assigned to the Wizard property.
|
Specifies the wizard type.
Type: DevExpress.Reporting.Designer.Wizard.WizardTypeString
| Type | Description |
|---|---|
| WizardTypeString |
The wizard type.
|
Use the Type property to identify the wizard type. The following code snippet demonstrates how to handle the ASPxClientReportDesigner.CustomizeWizard event and check the wizard type.
<script type="text/javascript">
function beforeInit(args) {
// ...
}
function CustomizeWizard(s, e) {
if (e.Type === "ReportWizard") {
e.Wizard.events.addHandler("beforeInitialize", beforeInit)
}
}
</script>
<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server">
<ClientSideEvents CustomizeWizard="CustomizeWizard" />
</dx:ASPxReportDesigner>
Specifies the wizard.
Wizard: DevExpress.Reporting.Designer.Wizard.WizardType
| Type | Description |
|---|---|
| WizardType |
The wizard object.
|
The Wizard property allows you to access the wizard object. Use the Wizard ‘s events collection to handle wizard events.
<script type="text/javascript">
function beforeInit(args) {
// ...
}
function CustomizeWizard(s, e) {
if (e.Type === "ReportWizard") {
e.Wizard.events.addHandler("beforeInitialize", beforeInit)
}
}
</script>
<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server">
<ClientSideEvents CustomizeWizard="CustomizeWizard" />
</dx:ASPxReportDesigner>