I can’t understand why whoever implemented the TreeView implemented it such a way that it is impossible to easily extend to support multi selection (actually,
why didn’t they add it to begin with????).
I was looking at how to implement this in my TreeView derived base class and implement it in a way that would not require any style or template changes per tree.
I have spend some time looking at the implementation using Reflector, and it seems to me that ‘if only’ the TreeView.ChangeSelection had been exposed as a virtual method instead of internal, then it would have been possible to ‘hack’
it, but unfortunately this is not the case.
So – after a lot of searching I have not been able to find any solution which would require code changes only. Is it possible at all?.
View Complete Post