Intersoft ClientUI Documentation
UXNavigationWindow Class
Members  Example  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace : UXNavigationWindow Class






Represents a window interface with built-in navigation frame, navigation bar and window host integration.

Object Model

UXNavigationWindow Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)>
<DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")>
<StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)>
Public Class UXNavigationWindow 
   Inherits UXWindow
   Implements IApplicationHostIControlIFramework, ILicensing, IWindow 
Visual Basic (Usage)Copy Code
Dim instance As UXNavigationWindow
C# 
[StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)]
[DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")]
[StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)]
public class UXNavigationWindow : UXWindow, IApplicationHostIControlIFramework, ILicensing, IWindow  
Delphi 
public class UXNavigationWindow = class(UXWindow, IApplicationHost, IControl, IFramework, ILicensing, IWindow)
JScript 
StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)
DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")
StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)
public class UXNavigationWindow extends UXWindow implements IApplicationHostIControlIFramework, ILicensing, IWindow 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)]
[DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")]
[StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)]
public __gc class UXNavigationWindow : public UXWindow, IApplicationHostIControlIFramework, ILicensing, IWindow  
C++/CLI 
[StyleTypedPropertyAttribute(Property="NavigatorStyle", StyleTargetType=Intersoft.Client.UI.Navigation.UXFrame)]
[DescriptionAttribute("Represents a window interface with built-in navigation frame, navigation bar and window host integration.")]
[StyleTypedPropertyAttribute(Property="WindowButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.WindowButtons)]
public ref class UXNavigationWindow : public UXWindow, IApplicationHostIControlIFramework, ILicensing, IWindow  

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.
XAMLCopy Code
<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>

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.

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.