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
781
How to disable XamDataTreeNode via DataBinding
posted

Hi,

this is my xamdatatree

<ig:XamDataTree DisplayMemberPath="NodeText" ItemsSource="{Binding Tree.Root.Children}">
    <ig:XamDataTree.SelectionSettings>
<ig:TreeSelectionSettings NodeSelection="Single"/>
</ig:XamDataTree.SelectionSettings>
<ig:XamDataTree.GlobalNodeLayouts>
<ig:NodeLayout Key="Nodes" TargetTypeName="INode" IsExpandedMemberPath="IsExpanded">
<ig:NodeLayout.ItemTemplate>
<DataTemplate>
  <StackPanel>
  <TextBlock .. />
  <Image ../>
</StackPanel>
</DataTemplate>
</ig:NodeLayout.ItemTemplate>
</ig:NodeLayout>
</ig:XamDataTree.GlobalNodeLayouts>
</ig:XamDataTree>

 

How can i disable the XamDataTreeNodes? I would like to bind it eg in the nodelayout

   <ig:NodeLayout Key="Nodes" TargetTypeName="INode" IsEnabledMemberPath="IsEnabled">

 

Thanks

Parents
No Data
Reply
  • 21382
    posted

    An IsEnable Path property is a addition in our upcoming 11.2 release.  In prior versions you would have had to manually set the IsEnabled property on the node itself.

Children
No Data