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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Symbol delete

Thread ID:

Created:

Updated:

Platform:

Replies:

113603 Oct 1,2013 01:43 PM UTC Oct 22,2013 06:12 PM UTC WPF 4
loading
Tags: Diagram
MANI SHANKAR
Asked On October 1, 2013 01:43 PM UTC

1:When first time draging any symbol  from symbolpalt  to content area that is focused if u r pressing delete its not deleting. you have to selecte deselect then only delete will work. 
2:In node i am fetching content from xml then selecting that node coming only in empty places.
 
 
Any Help would be helpful.

Sudhakar C [Syncfusion]
Replied On October 4, 2013 10:58 AM UTC

Hi Mani,

We have analysed your queries, please find the response for your queries in below.

Query

Response

When first time draging any symbol  from symbolpalt  to content area that is focused if u r pressing delete its not deleting. you have to selecte deselect then only delete will work

We are suggesting you to please set focus to dropped node while drag and drop it from SymbolPalette. Please refer the following code snippet.

 

Code Snippet:

// Register NodeDrop event

diagramView.NodeDrop += new NodeDroppedEventHandler(diagramView_NodeDrop);

 

 

void diagramView_NodeDrop(object sender, NodeDroppedRoutedEventArgs evtArgs)

{

    // Register Loaded event for dropped Node

     (evtArgs.DroppedNode as Node).Loaded += new   RoutedEventHandler(MainWindow_Loaded);

 

}

 

void MainWindow_Loaded(object sender, RoutedEventArgs e)

{

     // Set focus to the dropped node

     (sender as Node).Focus();

}

 

 

 

 

In node i am fetching content from xml then selecting that node coming only in empty places.

We are unable to understand your query. Can you please provide more information about your requirement? So that we are able to investigate more on your requirement.

 

Note : we have a XML DataBinding sample in our dashboard. In that sample, we have binded the xml data’s and created the diagram. For more information, please refer the sample in Dashboard. Please find the path in below.

 

Path : DiashboardàWPFàDiagramàDataBindingàXMLDataBindingSample

 

 

 

Please let us know if you need further assistance on this.

Regards,

Sudhakar C

MANI SHANKAR
Replied On October 18, 2013 02:52 PM UTC

Thank for your reply sudhakar.
1:first probem i solved by starting as u discussed
(sender asNode).Focus();
only one changed for seeting keybord focus i used
keyboardFocus(sender asNode).
 
2:For Second problem more calrification i
attached a word file below.

 

 

Any help will be helpful.


syn_1_36bbaad5.zip

MANI SHANKAR
Replied On October 19, 2013 01:34 PM UTC

I founded soluation for second problem i have to set

IsHitTestVisible="False"

In XAMl for symbol.


Sudhakar C [Syncfusion]
Replied On October 22, 2013 06:12 PM UTC

Hi Mani Shankar,

Thanks for the update. The solution found by you is the correct one. Please let us know if you have any other concerns. As always, we will be happy to assist you. Thanks for using Syncfusion Products.

Regards,

Sudhakar C 


CONFIRMATION

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.

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

;