Intersoft.Client.UI.Aqua.UXCollection Namespace : UXNavigationPaneItem Class |
<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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationState, Intersoft.Client.Framework.INavigationSupport, Intersoft.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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationState, Intersoft.Client.Framework.INavigationSupport, Intersoft.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.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSource, Intersoft.Client.Framework.INavigationState, Intersoft.Client.Framework.INavigationSupport, Intersoft.Client.Framework.ISelectionItem
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> |
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
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