Intersoft.Client.UI.Aqua.UXCollection Namespace > UXTreeViewItem Class : DisplayMode Property |
<CategoryAttribute("Common Properties")> Public Property DisplayMode As ContentType
Dim instance As UXTreeViewItem 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 UXTreeView to use ImageContent presentation and specify an image to the content.
XAML |
Copy Code
|
---|---|
<Grid> <Intersoft:UXTreeView> <Intersoft:UXTreeViewItem Header="Games" IsExpanded="True" DisplayMode="ContentAndImage" Icon="/SLNavigationPane;component/images/Folder.png"> <Intersoft:UXTreeViewItem Header="Chess Titans" DisplayMode="ContentAndImage" Icon="/SLNavigationPane;component/images/Folder.png" /> <Intersoft:UXTreeViewItem Header="FreeCell" DisplayMode="ContentAndImage" Icon="/SLNavigationPane;component/images/Folder.png" /> <Intersoft:UXTreeViewItem Header="Hearts" DisplayMode="ContentAndImage" Icon="/SLNavigationPane;component/images/Folder.png" /> </Intersoft:UXTreeViewItem> </Intersoft:UXTreeView> </Grid> |
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