Hi,
I want to retrieve all the checked Nodes, but not able to find any propertyby by which I can do that.
I am including the code, Here If I select any EventSummary then I need all the selected 'NodeLayout collections'. I am using MVVM pattern here
Please help me.
<ig:XamDataTree x:Name="MyTree" ItemsSource="{Binding BKOFSummary}" NodeLineVisibility="Visible" Grid.Row="3"> <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="ProductTypeLayout" TargetTypeName="Summary" ItemTemplate="{StaticResource myItemTemplate}"> <ig:NodeLayout.CheckBoxSettings> <ig:CheckBoxSettingsOverride CheckBoxVisibility="Visible"/> </ig:NodeLayout.CheckBoxSettings> </ig:NodeLayout> <ig:NodeLayout Key="EventTypeLayout" TargetTypeName="EventSummary" ItemTemplate="{StaticResource myItemTemplate}"> <ig:NodeLayout.CheckBoxSettings> <ig:CheckBoxSettingsOverride CheckBoxVisibility="Visible"/> </ig:NodeLayout.CheckBoxSettings> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Hello,
Sorry for the late reply. I have been looking into your question and I have created a sample application(DataTreeCheckedNodes.zip) where I have accessed all the checked nodes in XamDataTree.
If you need any further assistance on this matter, feel free to ask.
Hi Nikolov,
Thanks for yor reply but I am looking for the solution using MVVM pattern.
So can you please post another sample which use MVVM pattern.