Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
XamDataTree
posted

Hello,

I don't anderstand why i can't show all level of my XML.

I give you my XML :

 <? xml version="1.0" encoding="utf-8" ?>

 

 

<

 

 

 

 

  dataroot >

 

 

<

 

 

 

 

  Continents >

 

 

<

 

 

 

 

  Name>Africa</Name >

 

 

<

 

 

Countries >

 

 

<

 

 

Name>Algeria</Name >

 

 

<

 

 

Cities >

 

 

<

 

 

Name>Algiers</Name >

 

 

</

 

 

Cities >

<

 

 

Cities>

<

 

 

Name>Oran</Name>

</

 

 

Cities>

</

 

 

Countries>

 

 

 

 

 

 

 

 

 

 

 

 

<

 

 

Countries>

 

<

 

 

Name>Angola</Name>

<

 

 

Cities>

<

 

 

Name>Soyo</Name>

</

 

 

Cities>

<

 

 

Cities>

<

 

 

Name>Ndalatando</Name>

</

 

 

Cities>

<

 

 

Cities>

<

 

 

Name>Ambiz</Name>

</

 

 

Cities>

</

 

 

Countries>

 

 

 

 

 

 

 

 

 

 

 

 

<

 

 

Countries>

<

 

 

Name>Cape Verde</Name>

<

 

 

Cities>

<

 

 

Name>Praia</Name>

</

 

 

Cities>

<

 

 

Cities>

<

 

 

Name>Mindelo</Name>

</

 

 

Cities>

<

 

 

Cities>

<

 

 

Name>Assomada</Name>

</

 

 

Cities>

</

 

 

Countries>

</

 

 

Continents>

</

 

 

dataroot>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I give you now my XAML :

<UserControl
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 xmlns:ig="http://schemas.infragistics.com/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
 x:Class="contact.MainPage"
 Width="640" Height="480">
<Grid >

 <ig:XamDataTree DataContext="{Binding Source={StaticResource ContinentsSampleDataSource}}"
      x:Name="dataTree"
      DisplayMemberPath="Name"
      ItemsSource="{Binding ContinentsCollection}">
            <ig:XamDataTree.GlobalNodeLayouts>
    <ig:NodeLayout  Key="Name" TargetTypeName="Countries" DisplayMemberPath="Name"  />
    
            </ig:XamDataTree.GlobalNodeLayouts>
    </ig:XamDataTree>

 </Grid>

</UserControl>

Somebody can help me.

Thank you a lot.

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

Children
No Data