PageIterator<T> Class
In This Article
Defines the wizard’s page sequence.
#Declaration
TypeScript
export class PageIterator<T = any> extends Disposable
#Type Parameters
Name | Description |
---|---|
T | The type. |
#Remarks
Use this class to change the page count and/or sequence. For instance, you can remove a specific wizard page or register a new page.
#Inheritance
#constructor<T>(pageFactory, stateManager)
Initializes a new instance of the PageIterator<T>
class with specified settings.
#Declaration
TypeScript
constructor(
pageFactory: DevExpress.Analytics.Wizard.PageFactory,
stateManager: DevExpress.Analytics.Wizard.StateManager,
_onResetPage?: (page: DevExpress.Analytics.Wizard._WrappedWizardPage) => void
)
#Parameters
Name | Type | Description |
---|---|---|
page |
Page |
The page factory. |
state |
State |
The state manager. |
_on |
(page: _Wrapped |
#Type Parameters
Name | Description |
---|---|
T | The type. |
#Properties
#pageFactory Property
Specifies the page factory.
#Declaration
TypeScript
pageFactory: DevExpress.Analytics.Wizard.PageFactory
#Property Value
Type | Description |
---|---|
Page |
The page factory. |
#stateManager Property
Specifies the state manager.
#Declaration
TypeScript
stateManager: DevExpress.Analytics.Wizard.StateManager
#Property Value
Type | Description |
---|---|
State |
The sate manager. |
#Methods
#dispose Method
Disposes the page iterator.
#Declaration
TypeScript
dispose(): void
#getNextPageId Method
Returns the next page’s ID.
#Declaration
TypeScript
getNextPageId(
pageId?: string
): string
#Parameters
Name | Type | Description |
---|---|---|
page |
string | The current page’s ID. |
#Returns
Type | Description |
---|---|
string | The next page’s ID. |
#Remarks
Use this method to change the page count and/or sequence. For instance, you can remove a specific wizard page or register a new page.