Tooltips for nodes

I would like to have some tooltips when Mouseover diagram elements, so that I can show some basic information on the node.

I found an old thread that gave an example, but the code no longer works.

this.diagram1.Model.MouseEnter+=new NodeMouseEventHandler(Model_MouseEnter);

Model no longer has an MouseEnterEvent.

If I use the diagram's mouse enter event, there are no args to match the example:

private void Model_MouseEnter(object sender, NodeMouseEventArgs evtArgs)

How do we do it with the newest release?


3 Replies

AM Ajeet M Syncfusion Team January 26, 2009 05:23 AM UTC

Hi RAS,

The Diagram's Eventsink contains triggers for various Node related events.

FYI, "this.diagram1.EventSink.NodeMouseEnter" event is one of the many events related to Node.

I am sure this will resolve this query. Let me know if this helps.

Happy coding!
- Ajeet




RA Ron Alan Sawyer January 26, 2009 08:41 PM UTC

Thank you for the response. When was this.diagram1.EventSink.NodeMouseEnter put into the diagram?

Even though I have purchased the newest version just a week or so ago, I went back to an older version due to some bugs I found in the xpTaskPane.



AM Ajeet M Syncfusion Team January 27, 2009 07:39 AM UTC

Hi RAS,

The Node_Events in the diagram.EventSink are included since v6.2.

Let me know if this helps.

Warm Regards,
Ajeet



Loader.
Up arrow icon