Skip to main content
A newer version of this page is available. .

NavigationFrame.AddPage(String, String) Method

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

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