Intersoft.Client.UI.Aqua.UXCollection Namespace > UXTreeView Class : TreeExpandMode Property |
<CategoryAttribute("Common Properties")> Public Property TreeExpandMode As TreeExpandMode
Dim instance As UXTreeView Dim value As TreeExpandMode instance.TreeExpandMode = value value = instance.TreeExpandMode
[CategoryAttribute("Common Properties")] public TreeExpandMode TreeExpandMode {get; set;}
[CategoryAttribute("Common Properties")] public: property TreeExpandMode TreeExpandMode { TreeExpandMode get(); void set ( TreeExpandMode value); }
The following code shows you how to set the AutoSelectMode and TreeExpandMode property .
XAML |
Copy Code
|
---|---|
<Grid> <Intersoft:UXTreeView AutoSelectMode="Expand" TreeExpandMode="Multiple"> <Intersoft:UXTreeViewItem Header="Folder 1"> <Intersoft:UXTreeViewItem Header="File 1" /> <Intersoft:UXTreeViewItem Header="File 2" /> <Intersoft:UXTreeViewItem Header="File 3" /> <Intersoft:UXTreeViewItem Header="File 4" /> </Intersoft:UXTreeViewItem> <Intersoft:UXTreeViewItem Header="Folder 2"> <Intersoft:UXTreeViewItem Header="File 1" /> <Intersoft:UXTreeViewItem Header="File 2" /> </Intersoft:UXTreeViewItem> <Intersoft:UXTreeViewItem Header="Folder 3" /> </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