I used a custom object to populate the RadTreeView which includes a bool flag that I want to bind to the tree nodes IsLoadOnDemandEnabled property.
The loading of the node is done in the selection change of the VM. After a node is loaded I set the LoadOnDemandEnabled property on the node object. I want to have that property bound to the IsLoadOnDemandEnabled of the tree item.
All the examples get the item in the event and set the property of the RadTreeViewItem. I can acheive this using a message from the VM but I would like to do it via XAML if possible.
The loading of the node is done in the selection change of the VM. After a node is loaded I set the LoadOnDemandEnabled property on the node object. I want to have that property bound to the IsLoadOnDemandEnabled of the tree item.
All the examples get the item in the event and set the property of the RadTreeViewItem. I can acheive this using a message from the VM but I would like to do it via XAML if possible.