Hi Vladimir,
Please find the
response of your queries as below.
S.No |
Query |
Response |
1. |
Is
there a way to prevent the auto selection if I press the button inside the
node? |
We have support to enable/ disable the Node
Selection behavior. Your requirement can be achieved by using NodeConstraints. Please
refer to the following code snippet to disable Node selection. Code
Snippet: node.Constraints=node1.Constraints
&~ NodeConstraints.Selectable; //Here, node is the instance of the node For more details about Node constraints,
please refer to the following online help documentation link. Link: http://help.syncfusion.com/UG/winrt/documents/nodes.htm
: Node Constraints |
2. |
how I can override the default context menu which shows
up if I select a node? for instance, I want that, if I select a node only the
border of a selected node changes his color and no context menu shows up |
We don’t have any default context menu for
Node. Your requirement “to
change the border of the selected Node” can be achieved by using ShapeStyle
property of the Node. For more details about Node shape and shape
style, please refer to the following online help documentation link. Link: http://help.syncfusion.com/UG/winrt/documents/nodes.htm
: Setting
the Node Shape and Shape Style This would be better for us if you provide
more information about your context menu requirement. So that we will investigate
further on this and update you with the proper solution. |
Please let us know if
you have any concerns
Regards,
Saranya C
Hi Vladimir,
Please find the response of your query as below.
S.No |
Query |
Response |
1. |
If I select a node a "toolbox" shows up... The
question was, How I can prevent it from showing ? |
We have analyzed
your requirement from your query. Your requirement is disable the Quick Commands
(Delete, Duplicate and Connection) in the Node. We have provided code snippet
to achieve your requirement. Please refer to the code snippet as
below. Code Snippet: //Disable Quick Commands (diagram.SelectedItems
as SelectorViewModel).QuickCommands = Visibility.Collapsed; //Here, diagram is the name of the
SfDiagram. |
Please let us know if
you have any concerns
Regards,
Saranya C