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
55
xamDataTree
posted

I added all references in my project and did everything described in Infragistics documentation but I can't create a simpke xamDataTree.

here is my Xaml code and corresponding error

<ig:XamDataTree x:Name="MyTree"
ItemsSource="{Binding Source={StaticResource odptree}}">
<ig:XamDataTree.GlobalNodeLayouts>
<ig:NodeLayout Key="CategoryLayout"
TargetTypeName="Category"
DisplayMemberPath="CategoryName">
</ig:NodeLayout>
</ig:XamDataTree.GlobalNodeLayouts>
</ig:XamDataTree>

Error 27 A value of type 'NodeLayout' cannot be added to a collection or dictionary of type 'GlobalNodeLayoutCollection'. C:\Users\Ali\Documents\Visual Studio 2010\Projects\DG\GUI\MVVMTr-1\TestW.xaml 20 17 DG.View

Parents Reply Children
No Data