We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to disable multiselection of nodes, connectors, etc.

Thread ID:





130433 May 12,2017 11:33 AM UTC May 15,2017 07:35 AM UTC WPF 1
Tags: SfDiagram
Asked On May 12, 2017 11:33 AM UTC


Could you please provide sample or code sample to disable multi selection of nodes, connectors, etc?
User should be able to select single node / connector at any moment from the diagram. We should be able to disable multi selection which can be achieved using following options:
  • Keyboard like Ctrl + A
  • Mouse like dragging across the diagram while pressing left button
  • Keyboard + Mouse i.e. Ctrl + Mouse tap on node
  • Context menu, etc.

Thanks and regards,


Saranya Chandrasekaran [Syncfusion]
Replied On May 15, 2017 07:35 AM UTC

Hi Deepak, 
Disable multi selection of Nodes and Connectors. 
Your  requirement can be achieved by setting desired tool to the Tool property of the Diagram. We have provided code example to represent this. Please refer to the below code example. 
Code example: 
diagram.Tool = Tool.SingleSelect; 
Saranya C. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon