Set the tooltip text per each NShape in the diagram

Applies to: Nevron Diagram for .NET

How to set the tooltip text per each NShape in the diagram?

To set the tooltip of each shape you should use its Interactivity Style:

[C#]
NInteractivityStyle interactivityStyle = new NInteractivityStyle( "Tooltip Text" );
NStyle.SetInteractivityStyle(shape, interactivityStyle);

[VB.NET]
Dim interactivityStyle As New NInteractivityStyle("Tooltip Text")
NStyle.SetInteractivityStyle(shape, interactivityStyle)

For more detailed information about interactivity styles, you can look at the following help topic: Interactivity Style

Article ID: 6, Created On: 9/24/2010, Modified: 12/29/2010