Skip to main content

NavigationFrame Class

A container within a WindowsUI application which provides the capability to navigate through application screens.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.1.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public class NavigationFrame :
    ContentControl,
    INavigationFrame,
    INavigationContainer,
    ISupportAsyncNavigation,
    ISupportPrefetchingStrategy,
    ISupportNavigationJournal

The following members return NavigationFrame objects:

Remarks

Place a NavigationFrame onto your main application window to navigate through different screens within your WindowsUI application. Use the NavigationFrame.Source property to set a start-up screen and specify the Navigation.NavigateTo property for each navigation UI element to set where it should navigate to when clicked. Refer to the Navigation topic for more information.

The NavigationFrame allows you to cache displayed Views. The NavigationCacheMode property specifies how to cache Views:

Call the ClearCache() method to clear the cache.

See the example for more information on how to use the NavigationFrame control:

View Example: How To: Use NavigationButtons to Navigate in WPF WindowsUI Applications

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavigationFrame class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also