NavigationFrame.AddPage(String, String) Method

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll


public NavigationPageBase AddPage(
    string caption,
    string controlName
Public Function AddPage(
    caption As String,
    controlName As String
) As NavigationPageBase


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.


Type Description

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

See Also