ASPxClientReportDesignerCustomizeWizardEventArgs Class
Provides data for the ASPxClientReportDesigner.CustomizeWizard event.
#Declaration
declare class ASPxClientReportDesignerCustomizeWizardEventArgs extends ASPxClientEventArgs
#Remarks
ASPxClientReportDesignerCustomizeWizardEventArgs objects are automatically created, initialized and passed to corresponding event handlers.
#Inheritance
#constructor(type, wizard)
Initializes a new instance of the ASPxClientReportDesignerCustomizeWizardEventArgs
class with the specified settings.
#Declaration
constructor(
type: DevExpress.Reporting.Designer.Wizard.WizardTypeString,
wizard: DevExpress.Reporting.Designer.Wizard.WizardType
)
#Parameters
Name | Type | Description |
---|---|---|
type | Wizard |
The wizard type. This value is assigned to the Type property. |
wizard | Wizard |
The wizard object. This value is assigned to the Wizard property. |
#Properties
#Type Property
Specifies the wizard type.
#Declaration
Type: DevExpress.Reporting.Designer.Wizard.WizardTypeString
#Property Value
Type | Description |
---|---|
Wizard |
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
Wizard: DevExpress.Reporting.Designer.Wizard.WizardType
#Property Value
Type | Description |
---|---|
Wizard |
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>