Intersoft.Client.UI.Data Namespace > UXTreeList Class : InitialTreeListState Property |
<CategoryAttribute("Common Properties")> Public Property InitialTreeListState As Visibility
Dim instance As UXTreeList Dim value As Visibility instance.InitialTreeListState = value value = instance.InitialTreeListState
[CategoryAttribute("Common Properties")] public Visibility InitialTreeListState {get; set;}
[CategoryAttribute("Common Properties")] public: property Visibility InitialTreeListState { Visibility get(); void set ( Visibility value); }
By default all the loaded item in UXTreeList will be in Collapsed state. You can instruct UXTreeList to open all the loaded item by setting the InitialTreeListState property to Visible.
The following code shows how a set the initial tree list state in UXTreeList.
XAML |
Copy Code
|
---|---|
<Intersoft:UXTreeList ItemsSource="{Binding Items}" ParentIDBinding="{Binding ReportsTo}" IDBinding="{Binding EmployeeID}" InitialTreeListState="Visible"/> |
Note that this feature is not supported for Load on Demand scenario. |
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