Profile Picture

Diagram node tooltip

Posted By Anna Lear 15 Years Ago
Author
Message
Anna Lear
Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 12, Visits: 1

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.



Ivo Milanov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 35, Visits: 15

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





Similar Topics


Reading This Topic