Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ASPxClientReportDesignerCustomizeWizardEventArgs Class

Provides data for the ASPxClientReportDesigner.CustomizeWizard event.

#Declaration

TypeScript
declare class ASPxClientReportDesignerCustomizeWizardEventArgs extends ASPxClientEventArgs

#Remarks

ASPxClientReportDesignerCustomizeWizardEventArgs objects are automatically created, initialized and passed to corresponding event handlers.

#Inheritance

ASPxClientEventArgs
ASPxClientReportDesignerCustomizeWizardEventArgs

#constructor(type, wizard)

Initializes a new instance of the ASPxClientReportDesignerCustomizeWizardEventArgs class with the specified settings.

#Declaration

TypeScript
constructor(
    type: DevExpress.Reporting.Designer.Wizard.WizardTypeString,
    wizard: DevExpress.Reporting.Designer.Wizard.WizardType
)

#Parameters

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.

#Properties

#Type Property

Specifies the wizard type.

#Declaration

TypeScript
Type: DevExpress.Reporting.Designer.Wizard.WizardTypeString

#Property Value

Type Description
WizardTypeString

The wizard type.

#Remarks

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>

#Wizard Property

Specifies the wizard.

#Declaration

TypeScript
Wizard: DevExpress.Reporting.Designer.Wizard.WizardType

#Property Value

Type Description
WizardType

The wizard object.

#Remarks

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>