Intersoft.Client.UI.Aqua.UXCollection Namespace > UXTreeView Class : AutoSelectMode Property |
<CategoryAttribute("Common Properties")> Public Property AutoSelectMode As AutoSelectMode
Dim instance As UXTreeView Dim value As AutoSelectMode instance.AutoSelectMode = value value = instance.AutoSelectMode
[CategoryAttribute("Common Properties")] public AutoSelectMode AutoSelectMode {get; set;}
[CategoryAttribute("Common Properties")] public: property AutoSelectMode AutoSelectMode { AutoSelectMode get(); void set ( AutoSelectMode value); }
UXTreeView has three automatic selection modes which you can customize through the AutoSelectMode property. The modes are discussed in the following list.
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