Skip to main content

WizardPageCollection.Insert(BaseWizardPage, BaseWizardPage) Method

Adds the specified wizard page to the collection at the specified position.

Namespace: DevExpress.XtraWizard

Assembly: DevExpress.XtraWizard.v24.1.dll

NuGet Package: DevExpress.Win

Declaration

public virtual bool Insert(
    BaseWizardPage cPage,
    BaseWizardPage page
)

Parameters

Name Type Description
cPage BaseWizardPage

A BaseWizardPage object at which position the specified wizard page is inserted. If this page isn’t contained within the collection, the method does nothing.

page BaseWizardPage

A BaseWizardPage object to add to the collection. If this wizard page is already contained within the collection, the method does nothing.

Returns

Type Description
Boolean

true if the specified wizard page has been added to the collection; otherwise, false.

See Also