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

NavigationFrame.Navigate(Object) Method

Navigates to the specific application view (screen).

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public void Navigate(
    object source
)

Parameters

Name Type Description
source Object

An Object that is the application view to which the NavigationFrame should navigate.

Remarks

Calling the Navigate method raises the NavigationFrame.Navigating event. Depending on navigation success, the NavigationFrame.Navigated or NavigationFrame.NavigationFailed events occur.

To specify a navigation target for a UI element (e.g., a NavigationButton), do not handle its Click event and use the Navigate method. Instead, specify the attached Navigation.NavigateTo property for this element.

See Also