Intersoft ClientUI Documentation
UXNavigationPaneItem Class
Members 



Represents a navigation pane item.
Object Model
UXNavigationPaneItem ClassISFramework Class
Syntax
<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 Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationStateIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.ISelectionItem 
Dim instance As UXNavigationPaneItem
[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, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationStateIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.ISelectionItem  
[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, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationStateIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.ISelectionItem  
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.
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>
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 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

UXNavigationPaneItem Members
Intersoft.Client.UI.Aqua.UXCollection Namespace

Send Feedback