Skip to main content

NavigationFrame.Navigate(Object) Method

Navigates to the specific application view (screen).

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

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