Skip to main content
All docs
V23.2

SelectLabelTypePage Class

Implements the Select Label Type section of the Report Wizard’s Specify Page Settings (Label) page.

Declaration

export class SelectLabelTypePage extends WizardPageBase

Remarks

You can customize this section or remove it from the Specify Page Settings page. To identify this section in code, use the FullscreenReportWizardSectionId.SelectLabelTypePage value.

See the following topics for more information:

Inheritance

constructor

Initializes a new instance of the SelectLabelTypePage class.

Declaration

constructor()

Methods

canFinish Method

Specifies whether it is possible to finish the wizard.

Declaration

canFinish(): boolean

Returns

Type Description
boolean

true, it is possible to finish the wizard; otherwise, false.

canNext Method

Declaration

canNext(): boolean

Returns

Type
boolean

commit Method

Commits settings to the local page state.

Declaration

commit(): JQuery.Promise<{
    labelDetails: DevExpress.Reporting.Designer.Wizard.ILabelDetails;
}, any, any>

Returns

Type Description
Promise<{labelDetails: ILabelDetails},any,any>

A JQuery Promise object that identifies whether the commit succeeded.

initialize(state) Method

Initializes the section with the specified settings.

Declaration

initialize(state: DevExpress.Reporting.Designer.Wizard.IReportWizardState): JQueryPromise<{
    labelProducts: DevExpress.Reporting.Designer.Wizard.ILabelProduct[];
    paperKinds: DevExpress.Reporting.Designer.Wizard.IPaperKind[];
    labelDetails: DevExpress.Reporting.Designer.Wizard.ILabelDetails[];
}>

Parameters

Name Type Description
state IReportWizardState

The section’s state.

Returns

Type Description
JQueryPromise<{labelDetails: ILabelDetails[], labelProducts: ILabelProduct[], paperKinds: IPaperKind[]}>

A JQuery Promise object that identifies whether section initialization succeeded.