Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Locked nodes with tooltip. (Read 226 times)
BigWander1
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Sep 26th, 2024
Locked nodes with tooltip.
Jun 10th, 2025 at 10:19am
Print Post  
In our app we show tooltip for locked diagram node. But, when we update mindfusion from 3.9.5 to 4.1.9, tooltips is no longer appears when mouse enters locked diagram node. Is this behaviour correct in new version? If so, could you tell please how to make tooltip visible in this case? You can use attached project below.
  

LockedNodesTooltip.rar ( 1861 KB | 31 Downloads )
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Locked nodes with tooltip.
Reply #1 - Jun 11th, 2025 at 9:09am
Print Post  
Try this build -

https://www.nuget.org/packages/MindFusion.Diagramming.Wpf/4.1.10

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
BigWander1
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Sep 26th, 2024
Re: Locked nodes with tooltip.
Reply #2 - Jun 17th, 2025 at 9:32am
Print Post  
Thank you for your help. I have additional question. When i subscribe on `MouseEnter` or `MouseLeave` in ShapeNode or SvgNode, these events does not invoke. Could you tell me please why this happens and how make these events work?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Locked nodes with tooltip.
Reply #3 - Jun 18th, 2025 at 10:15am
Print Post  
DiagramItem inherits from FrameworkElement for its Xaml styling support and properties, but won't raise its events. Not sure if our developers noticed them at all, as we maintain own event API across multiple platforms for consistency. In this case, try using Hovered / PointerEnter / PointerLeave events listed here instead:

https://www.mindfusion.eu/onlinehelp/wpfdiagram/T_MindFusion_Diagramming_Wpf_Dia...

If you prefer handling events of individual items, you might try overriding CreateRenderer method in custom classes and handling returned element's events instead. Or alternatively attach events to root element of node's custom Xaml template.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint