wpf-devexpress-dot-xpf-dot-windowsui.md
A container within a WindowsUI application which provides the capability to navigate through application screens.
Namespace : DevExpress.Xpf.WindowsUI
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
[DXLicenseWpf]
public class NavigationFrame :
ContentControl,
INavigationFrame,
INavigationContainer,
ISupportAsyncNavigation,
ISupportPrefetchingStrategy,
ISupportNavigationJournal
<DXLicenseWpf>
Public Class NavigationFrame
Inherits ContentControl
Implements INavigationFrame,
INavigationContainer,
ISupportAsyncNavigation,
ISupportPrefetchingStrategy,
ISupportNavigationJournal
The following members return NavigationFrame objects:
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.
<dxdo:LayoutPanel Caption="FrameDocumentUIService">
<dxwui:NavigationFrame AnimationType="SlideHorizontal">
<dxwui:NavigationFrame.Source>
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl NavigationFrame
See Also