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

NavigationFrame.Navigating Event

Occurs whenever the NavigationFrame attempts to navigate to a view (screen).

Namespace: DevExpress.Xpf.WindowsUI

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

Declaration

public event NavigatingCancelEventHandler Navigating

Event Data

The Navigating event's data class is DevExpress.Xpf.WindowsUI.Navigation.NavigatingEventArgs.

Remarks

You can handle the Navigating event to perform a required check, and if necessary, cancel navigation by setting the Cancel property to true. In this scenario, the NavigationFrame.NavigationCanceled event occurs. If not canceled, the Navigating event is followed by the NavigationFrame.Navigated event.

If navigation fails, the NavigationFrame.NavigationFailed event occurs.

See Also