Nevron Forum

Diagram node tooltip

https://www.nevron.com/Forum/Topic2523.aspx

By Anna Lear - Wednesday, July 29, 2009

Is it possible to show a tooltip when mousing over a diagram element (such as a rectangle shape or a connector)?

We're still using the Q3 2007 release of the Nevron libraries and I can't seem to find any reference to a ToolTip property or an event. Is this something I'm going to have to write from scratch myself?

Thanks.

By Ivo Milanov - Thursday, July 30, 2009

Hi Anna,

In Nevron Diagram for .NET you create interactivity attributes to describe tooltips, cursors, URL links, custom JScript (in case of ASP.NET environment) etc. To add a tooltip to a shape use this code:


NTooltipAttribute tooltip = new NTooltipAttribute("Some tooltip");

shape.InteractivityStyle.InteractivityAttributes.Add(tooltip);

Tooltips will work for WinForms, HTML image map ASP.NET response, SVG and other graphics devices.

Check out the following folder in the .NET Vision documentation:
Framework - Presentation Layer - Graphics - Interactivity Style

I hope this helps.


Best regards,
Ivo