When a group of nodes are selected, and a context click is made on the background (not on one of the selected nodes) the view’s Selection.Count property returns 0.
Is there something I can do about to avoid this? That is, when a context click is made, the selection should be maintained.
There is a reference to similar problem in the FAQ, viz. ,
Bringing up a popup menu on a context click causes other selected objects to be deselected—how can I have the popup menu apply to all selected objects? However, this assumes that the context click is being made on one of the selected objects and hence, doesnt seem to be working in my case. Am I right or am I missing something? -Thanks