I have a group which has several node children as a list. Each node has a selection adornment (button) that allows the removal of that node. There must be at least one node, so I need to remove the adornment for that node in the case that there is only one node remaining.
I’ve tried using a click listener on the node, which could allow me to quickly remove the adornment before it is rendered. However, when I access the Part that is passed as an object to the callback, it doesn’t list any adornments.
Interesting!
if an empty string argument for the sourceprop parameter indicates that the whole data object should be passed to the function,
But when Binding SelectionAdornment it will pass the Adornment object instead of nodes whole data object right? i am not found it in document maybe my overlooked.