Intersoft.Client.UI.Aqua.UXCollection Namespace > UXNavigationPaneItem Class : DisplayMode Property |
<CategoryAttribute("Common Properties")> Public Property DisplayMode As ContentType
Dim instance As UXNavigationPaneItem Dim value As ContentType instance.DisplayMode = value value = instance.DisplayMode
[CategoryAttribute("Common Properties")] public ContentType DisplayMode {get; set;}
[CategoryAttribute("Common Properties")] public: property ContentType DisplayMode { ContentType get(); void set ( ContentType value); }
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> |
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