This documentation is archived and is not being maintained.

JournalEntryUnifiedViewConverter Class

JournalEntryUnifiedViewConverter merges navigation back history and navigation forward history (as exposed by Frame or NavigationWindow) into a single, Windows Internet Explorer 7-style navigation menu.

Namespace: System.Windows.Navigation
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public sealed class JournalEntryUnifiedViewConverter : IMultiValueConverter
public final class JournalEntryUnifiedViewConverter implements IMultiValueConverter
public final class JournalEntryUnifiedViewConverter implements IMultiValueConverter
<JournalEntryUnifiedViewConverter .../>

Both Frame and NavigationWindow display navigation chrome that supports history navigation using the following mechanisms:

  • A button for navigating back one piece of content at a time.

  • A button for navigating forward one piece of content at a time.

  • An Windows Internet Explorer 7-style drop-down list that shows:

    • A combined list of up to nine items in back navigation history and up to nine items in forward navigation history.

    • The position of the current piece of content with respect to both back and forward navigation history.

The navigation chrome for Navigation window is shown in the following figure:

NavigationWindow application

The navigation history is stored by both NavigationWindow and Frame in the following properties:

Back Navigation History: Frame.BackStack, NavigationWindow.BackStack.

Forward Navigation History:

Frame.ForwardStack, NavigationWindow.ForwardStack.

To create the Windows Internet Explorer 7-style drop-down list, NavigationWindow and Frame use JournalEntryUnifiedViewConverter to merge their individual back navigation history and forward navigation history into a single list of navigation history entries. The resulting list contains up to nine entries from back navigation history and up to nine entries from forward navigation history, plus an entry for the current content.

If you create custom navigation UI, and need to provide an Windows Internet Explorer 7-style drop-down list, you can use JournalEntryUnifiedViewConverter to similar effect. See Customized NavigationWindow UI Sample for a complete example.

XAML Attribute Usage

This class is not typically used in XAML.

The following example shows how to construct a text-based navigation history menu. The menu uses JournalEntryUnifiedViewConverter to combine both the back and forward navigation histories of the hosted Frame navigator.



        <presentationFramework:JournalEntryUnifiedViewConverter x:Key="JournalEntryUnifiedViewConverter" />

        <!--MenuItem data template-->
        <DataTemplate x:Key="JournalEntryMenuItemTemplate">
            <MenuItem VerticalContentAlignment="Center" Command="NavigationCommands.NavigateJournal" CommandTarget="{Binding ElementName=frame}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}">
                            <TextBlock Text="{Binding (JournalEntryUnifiedViewConverter.JournalEntryPosition)}" FontWeight="Bold"></TextBlock>
                            <LineBreak />
                            <TextBlock Text="{Binding Path=Name}" />



        <!--Unified navigation history menu-->
        <Menu DockPanel.Dock="Top">
            <MenuItem Header="Unified Navigation History" ItemTemplate="{DynamicResource JournalEntryMenuItemTemplate}">
                    <MultiBinding Converter="{StaticResource JournalEntryUnifiedViewConverter}">
                            <Binding ElementName="frame" Path="BackStack"/>
                            <Binding ElementName="frame" Path="ForwardStack" />

        <!--Navigator (Frame with its navigation chrome hidden-->
        <Frame Name="frame" NavigationUIVisibility="Hidden" Source="HomePage.xaml" />



Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0