Could any one help how to enable/disable NodeLayout (tree item) dynamically?
Hi,
Could you please clarify what enable / disable means exactly?
What you can do with NodeLayouts is to defined them and add them to the corresponding collection (GlobalNodeLayouts or NodeLayouts) in XAML. Are you asking whether this can be done at runtime?
Regards,
No. What I meant was, I have to make the node should be selectable / de-selectable at runtime.
Assume that I have the nodes as in below
Due to some condition, I don't want the any one or all the nodes to be clickable/ selectable by the user. How to do that?
<XamDataTree>
<XamDataTree.GlobalNodeLayouts>
<NodeLayout Key="1" >
<NodeLayout Key="2" >
</XamDataTree>