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

Declaration

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

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