Skip to main content

NavigationFrame.AddPage(String, String) Method

Adds a new page containing the specific control in the current NavigationFrame.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public NavigationPageBase AddPage(
    string caption,
    string controlName
)

Parameters

Name Type Description
caption String

A String value that is the caption of the created page.

controlName String

A Control object hosted within a newly created page.

Returns

Type Description
NavigationPageBase

A NavigationPageBase object that is the page added to this NavigationFrame.

See Also