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






Represents a navigation pane item.

Object Model

UXNavigationPaneItem Class

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Content")>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<DescriptionAttribute("Represents a navigation pane item.")>
<TemplatePartAttribute(Name="ButtonElement", Type=Intersoft.Client.UI.Aqua.UXButton)>
Public Class UXNavigationPaneItem 
   Inherits Intersoft.Client.Framework.ISHeaderedSelectionItemControl
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationStateINavigationSupportISelectionItem 
Visual Basic (Usage)Copy Code
Dim instance As UXNavigationPaneItem
C# 
[ContentPropertyAttribute("Content")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[DescriptionAttribute("Represents a navigation pane item.")]
[TemplatePartAttribute(Name="ButtonElement", Type=Intersoft.Client.UI.Aqua.UXButton)]
public class UXNavigationPaneItem : Intersoft.Client.Framework.ISHeaderedSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationStateINavigationSupportISelectionItem  
JScript 
ContentPropertyAttribute("Content")
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
DescriptionAttribute("Represents a navigation pane item.")
TemplatePartAttribute(Name="ButtonElement", Type=Intersoft.Client.UI.Aqua.UXButton)
public class UXNavigationPaneItem extends Intersoft.Client.Framework.ISHeaderedSelectionItemControl implements IControlIFramework, ILicensing, INavigationSourceINavigationStateINavigationSupportISelectionItem 
Managed Extensions for C++ 
[ContentPropertyAttribute("Content")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[DescriptionAttribute("Represents a navigation pane item.")]
[TemplatePartAttribute(Name="ButtonElement", Type=Intersoft.Client.UI.Aqua.UXButton)]
public __gc class UXNavigationPaneItem : public Intersoft.Client.Framework.ISHeaderedSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationStateINavigationSupportISelectionItem  
C++/CLI 
[ContentPropertyAttribute("Content")]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[DescriptionAttribute("Represents a navigation pane item.")]
[TemplatePartAttribute(Name="ButtonElement", Type=Intersoft.Client.UI.Aqua.UXButton)]
public ref class UXNavigationPaneItem : public Intersoft.Client.Framework.ISHeaderedSelectionItemControl, IControlIFramework, ILicensing, INavigationSourceINavigationStateINavigationSupportISelectionItem  

Example

The following example shows how to setup the UXNavigationPane to use ImageContent presentation and specify an image to the header of the items.

XAML Copy Code
<Intersoft:UXNavigationPane Width="250" 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

The item container type of the UXNavigationPane control is UXNavigationPaneItem. UXNavigationPaneItem uses content control architecture which allows you to put any arbitrary object to its Content. UXNavigationPaneItem extends the content model with ImageContent presentation to provide an efficient way to display an image in addition to the content itself.

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.Framework.ISHeaderedSelectionItemControl
                           Intersoft.Client.UI.Aqua.UXCollection.UXNavigationPaneItem

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.