Intersoft ClientUI Documentation
UXNavigationWindow Class
Members  Example 



Represents a window interface with built-in navigation frame, navigation bar and window host integration.
Object Model
UXNavigationWindow ClassApplicationPackage ClassISFramework ClassUXContextMenu ClassUXContextMenu Class
Syntax
<StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)>
<DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")>
<StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)>
Public Class UXNavigationWindow 
   Inherits UXWindow
   Implements Intersoft.Client.Framework.IApplicationHostIntersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IWindow 
Dim instance As UXNavigationWindow
[StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)]
[DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")]
[StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)]
public class UXNavigationWindow : UXWindow, Intersoft.Client.Framework.IApplicationHostIntersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IWindow  
[StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)]
[DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")]
[StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)]
public ref class UXNavigationWindow : public UXWindow, Intersoft.Client.Framework.IApplicationHostIntersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.IWindow  
Remarks

UXNavigationWindow is a full-featured window control that combines the richness of windowing and powerful navigation capabilites.

The control enables local page navigation with automatic journal management through the built-in navigation bar. Many of the advanced navigation features found in UXFrame are also available in UXNavigationWindow to provide easy configuration, such as Source, UriMapper, UseGlobalShell, and complete navigation-related APIs.

The following illustration shows a high level overview of UXNavigationWindow. Notice that the journal button is synchronized to the navigation frame of the window.

As a member of ClientUI navigation framework, UXNavigationWindow works similar to UXFrame in many ways, for instance, you set the Source property to initially navigate to a particular page when loaded. For more information, see Navigation Overview.

To learn more about UXNavigationWindow and its features, see UXNavigationWindow Overview.

Example
The following example shows how to create a wizard-style window by using UXNavigationWindow. It also shows how to use CommandBarTemplate to define custom commands for the navigation window.
<Intersoft:UXPage... >
	<Intersoft:UXPage.Resources>
		<DataTemplate x:Key="WizardCommandBarTemplate">
	        <Grid>
	            <Intersoft:UXCommandBar Name="Wizard_CommandBar">
	                <Intersoft:UXButton Content="Next" IsDefault="True" Command="{Binding NextCommand}" NavigateUri="{Binding NextUri}" CommandCannotExecute="Collapsed"/>
	                <Intersoft:UXButton Content="Finish" IsDefault="True" Command="{Binding FinishCommand}" NavigateUri="/Finish" CommandCannotExecute="Collapsed"/>
	                <Intersoft:UXButton Content="Cancel" IsCancel="True" Click="CancelButton_Click"/>
	            </Intersoft:UXCommandBar>
	        </Grid>
	    </DataTemplate>
	</Intersoft:UXPage.Resources>

	<Grid x:Name="LayoutRoot">
		<Intersoft:UXNavigationWindow
				Header="Invoice Express - New Account Wizard" Height="350" Width="550" 
				Background="#FFE1E7F6" IsClientVisible="True" IsActive="True" 
				HorizontalAlignment="Center" VerticalAlignment="Center"
				HeaderHorizontalAlignment="Center" HeaderDisplayMode="Content"
				EnableSystemContextMenu="False" ControlBoxVisibility="Collapsed"
				EnablePageTransition="True" 
				CanClose="False" CanMaximize="False" CanMinimize="False" CanResize="False"
				NavigationBarUIMode="BackForwardJournal" Source="/Step1"
				CommandBarTemplate="{StaticResource WizardCommandBarTemplate}">
		    <Intersoft:UXNavigationWindow.NavigatorStyle>
		        <Style TargetType="Intersoft:UXFrame">
		            <Setter Property="AutoDetectNavigationDirection" Value="True"/>
		            <Setter Property="NewTransitionEffect" Value="SlideLeft"/>
		            <Setter Property="BackTransitionEffect" Value="SlideRight"/>
		            <Setter Property="ForwardTransitionEffect" Value="SlideLeft"/>
		            <Setter Property="UseCachedVisualForTransition" Value="True"/>
		        </Style>
		    </Intersoft:UXNavigationWindow.NavigatorStyle>
			<Intersoft:UXNavigationWindow.UriMapper>
				<Intersoft:UriMapper>
					<Intersoft:UriMapping Uri="/{Page}" MappedUri="/Views/UXNavigationWindow/{Page}.xaml"/>
				</Intersoft:UriMapper>
			</Intersoft:UXNavigationWindow.UriMapper>
		</Intersoft:UXNavigationWindow>
	</Grid>
</Intersoft:UXPage>
Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Framework.ISHeaderedContentControl
                        Intersoft.Client.UI.Aqua.UXDesktop.UXWindow
                           Intersoft.Client.UI.Aqua.UXDesktop.UXNavigationWindow

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXNavigationWindow Members
Intersoft.Client.UI.Aqua.UXDesktop Namespace
Window and Dialog Boxes Overview
Navigation Overview

Send Feedback