Intersoft ClientUI Documentation
UXNavigationPane Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXCollection Namespace : UXNavigationPane Class






Represents a fluid navigation control that contains multiple items which share the same space on the screen.

Object Model

UXNavigationPane Class

Syntax

Visual Basic (Declaration) 
<TemplatePartAttribute(Name="DropDownButtonElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="FooterBorderElement", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="PopupContentElement", Type=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="NavigationPaneButtonElement", Type=System.Windows.Controls.Border)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem)>
<StyleTypedPropertyAttribute(Property="DropDownButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDropDownButton)>
<TemplateVisualStateAttribute(Name="Expand", GroupName="ExpandStateGroup")>
<TemplateVisualStateAttribute(GroupName="ExpandStateGroup", Name="Collapsed")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="OverflowPanelElement", Type=System.Windows.Controls.StackPanel)>
<TemplatePartAttribute(Name="ItemPresenterElement", Type=System.Windows.Controls.ItemsPresenter)>
<DescriptionAttribute("Represents a fluid navigation control that contains multiple items which share the same space on the screen.")>
<TemplatePartAttribute(Name="ThumbElement", Type=Intersoft.Client.UI.Controls.UXThumb)>
<TemplatePartAttribute(Name="Panel", Type=Intersoft.Client.UI.Aqua.UXOverflowStackPanel)>
<TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)>
<TemplatePartAttribute(Name="ItemsElement", Type=System.Windows.Controls.Grid)>
Public Class UXNavigationPane 
   Inherits Intersoft.Client.Framework.ISHeaderedSelectionControl
   Implements IControlIFramework, ILicensing, ISelectionISelectionItem 
Visual Basic (Usage)Copy Code
Dim instance As UXNavigationPane
C# 
[TemplatePartAttribute(Name="DropDownButtonElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="FooterBorderElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="PopupContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="NavigationPaneButtonElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem)]
[StyleTypedPropertyAttribute(Property="DropDownButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDropDownButton)]
[TemplateVisualStateAttribute(Name="Expand", GroupName="ExpandStateGroup")]
[TemplateVisualStateAttribute(GroupName="ExpandStateGroup", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverflowPanelElement", Type=System.Windows.Controls.StackPanel)]
[TemplatePartAttribute(Name="ItemPresenterElement", Type=System.Windows.Controls.ItemsPresenter)]
[DescriptionAttribute("Represents a fluid navigation control that contains multiple items which share the same space on the screen.")]
[TemplatePartAttribute(Name="ThumbElement", Type=Intersoft.Client.UI.Controls.UXThumb)]
[TemplatePartAttribute(Name="Panel", Type=Intersoft.Client.UI.Aqua.UXOverflowStackPanel)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="ItemsElement", Type=System.Windows.Controls.Grid)]
public class UXNavigationPane : Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  
Delphi 
public class UXNavigationPane = class(Intersoft.Client.Framework.ISHeaderedSelectionControl, IControl, IFramework, ILicensing, ISelection, ISelectionItem)
JScript 
TemplatePartAttribute(Name="DropDownButtonElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="FooterBorderElement", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="PopupContentElement", Type=System.Windows.Controls.ContentControl)
TemplatePartAttribute(Name="NavigationPaneButtonElement", Type=System.Windows.Controls.Border)
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem)
StyleTypedPropertyAttribute(Property="DropDownButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDropDownButton)
TemplateVisualStateAttribute(Name="Expand", GroupName="ExpandStateGroup")
TemplateVisualStateAttribute(GroupName="ExpandStateGroup", Name="Collapsed")
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="OverflowPanelElement", Type=System.Windows.Controls.StackPanel)
TemplatePartAttribute(Name="ItemPresenterElement", Type=System.Windows.Controls.ItemsPresenter)
DescriptionAttribute("Represents a fluid navigation control that contains multiple items which share the same space on the screen.")
TemplatePartAttribute(Name="ThumbElement", Type=Intersoft.Client.UI.Controls.UXThumb)
TemplatePartAttribute(Name="Panel", Type=Intersoft.Client.UI.Aqua.UXOverflowStackPanel)
TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)
TemplatePartAttribute(Name="ItemsElement", Type=System.Windows.Controls.Grid)
public class UXNavigationPane extends Intersoft.Client.Framework.ISHeaderedSelectionControl implements IControlIFramework, ILicensing, ISelectionISelectionItem 
Managed Extensions for C++ 
[TemplatePartAttribute(Name="DropDownButtonElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="FooterBorderElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="PopupContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="NavigationPaneButtonElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem)]
[StyleTypedPropertyAttribute(Property="DropDownButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDropDownButton)]
[TemplateVisualStateAttribute(Name="Expand", GroupName="ExpandStateGroup")]
[TemplateVisualStateAttribute(GroupName="ExpandStateGroup", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverflowPanelElement", Type=System.Windows.Controls.StackPanel)]
[TemplatePartAttribute(Name="ItemPresenterElement", Type=System.Windows.Controls.ItemsPresenter)]
[DescriptionAttribute("Represents a fluid navigation control that contains multiple items which share the same space on the screen.")]
[TemplatePartAttribute(Name="ThumbElement", Type=Intersoft.Client.UI.Controls.UXThumb)]
[TemplatePartAttribute(Name="Panel", Type=Intersoft.Client.UI.Aqua.UXOverflowStackPanel)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="ItemsElement", Type=System.Windows.Controls.Grid)]
public __gc class UXNavigationPane : public Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  
C++/CLI 
[TemplatePartAttribute(Name="DropDownButtonElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="FooterBorderElement", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="PopupContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="NavigationPaneButtonElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem)]
[StyleTypedPropertyAttribute(Property="DropDownButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDropDownButton)]
[TemplateVisualStateAttribute(Name="Expand", GroupName="ExpandStateGroup")]
[TemplateVisualStateAttribute(GroupName="ExpandStateGroup", Name="Collapsed")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="OverflowPanelElement", Type=System.Windows.Controls.StackPanel)]
[TemplatePartAttribute(Name="ItemPresenterElement", Type=System.Windows.Controls.ItemsPresenter)]
[DescriptionAttribute("Represents a fluid navigation control that contains multiple items which share the same space on the screen.")]
[TemplatePartAttribute(Name="ThumbElement", Type=Intersoft.Client.UI.Controls.UXThumb)]
[TemplatePartAttribute(Name="Panel", Type=Intersoft.Client.UI.Aqua.UXOverflowStackPanel)]
[TemplatePartAttribute(Name="ContentElement", Type=System.Windows.Controls.ContentControl)]
[TemplatePartAttribute(Name="ItemsElement", Type=System.Windows.Controls.Grid)]
public ref class UXNavigationPane : public Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  

Example

The following example shows a simple UXNavigationPane with five items.

XAML Copy Code
<Intersoft:UXNavigationPane Width="250" SelectedIndex="0" VisibleItemCount="3">
    <Intersoft:UXNavigationPaneItem Header="Mail" DisplayMode="ContentAndImage" 
        Icon="/SLNavigationPane;component/images/Outlook/Mail.png">
        <Grid>
            <TextBlock Text="Mail" />
        </Grid>
    </Intersoft:UXNavigationPaneItem>
    <Intersoft:UXNavigationPaneItem Header="Calendar" DisplayMode="ContentAndImage" 
        Icon="/SLNavigationPane;component/images/Outlook/Calendar.png">
        <Grid>
            <TextBlock Text="Calendar" />
        </Grid>
    </Intersoft:UXNavigationPaneItem>
    <Intersoft:UXNavigationPaneItem Header="Contacts" DisplayMode="ContentAndImage" 
        Icon="/SLNavigationPane;component/images/Outlook/Contact.png">
        <Grid>
            <TextBlock Text="Contacts" />
        </Grid>
    </Intersoft:UXNavigationPaneItem>
    <Intersoft:UXNavigationPaneItem Header="Tasks" DisplayMode="ContentAndImage" 
        Icon="/SLNavigationPane;component/images/Outlook/Tasks.png">
        <Grid>
            <TextBlock Text="Tasks" />
        </Grid>
    </Intersoft:UXNavigationPaneItem>
    <Intersoft:UXNavigationPaneItem Header="Notes" DisplayMode="ContentAndImage" 
        Icon="/SLNavigationPane;component/images/Outlook/Notes.png">
        <Grid>
            <TextBlock Text="Notes" />
        </Grid>
    </Intersoft:UXNavigationPaneItem>
</Intersoft:UXNavigationPane>

Remarks

You use UXNavigationPane to display multiple sections of content that share the same space on the screen. Each item generally contains a header and a content. The header is represented by a button control which is stacked together with the other items. The item's content will be displayed when its associated header is clicked. Unlike an accordion control, UXNavigationPane displays only one content at a time which is indicated by the selected item.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.Framework.ISHeaderedSelectionControl
                           Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPane

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.