Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram DisabledHandlesStyle not working (Read 3590 times)
gypsyjoe11
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Mar 1st, 2021
Diagram DisabledHandlesStyle not working
Mar 16th, 2021 at 1:19pm
Print Post  
We're upgrading from Silverlight to MVC and in the Silverlight version the disabled ShapeNode handles would be red.

In the new version 3.2.2.0 it is set to use red(#C80000) also but it is not showing. It is showing white for all the handles disabled or not.

Is this a bug?

thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Diagram DisabledHandlesStyle not working
Reply #1 - Mar 16th, 2021 at 1:30pm
Print Post  
Hi,

We've implemented this only recently, try v3.3.1 -
https://mindfusion.eu/Forum/YaBB.pl?num=1614088277

You can see handle styles shown in AdjustmentHandles sample project.

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


I Love MindFusion!

Posts: 5
Joined: Mar 1st, 2021
Re: Diagram DisabledHandlesStyle not working
Reply #2 - Mar 16th, 2021 at 1:56pm
Print Post  
Thanks for the reply.

So why is there a
MindFusion.Diagramming.Diagram.DisabledHandlesStyle
property that you can set? And why does the HandleBrush show a color of #C80000 but not show it for the disabled handles?

And why does the Silverlight version which is really old show red for the disabled handles?

Sounds like it was something that was working but was broken in 3.2 but you fixed in the new version by re-working it and adding more functionality?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Diagram DisabledHandlesStyle not working
Reply #3 - Mar 16th, 2021 at 3:15pm
Print Post  
.NET side has it because diagramming.dll is a shared assembly used in Windows Forms version too, which does support that. However drawing handles in different colors and the HandlesVisualStyle class were implemented only a few weeks ago in our JavaScript library (and so in ASP.NET / MVC scripts) -
https://mindfusion.eu/Forum/YaBB.pl?num=1615295296
  
Back to top
 
IP Logged
 
gypsyjoe11
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Mar 1st, 2021
Re: Diagram DisabledHandlesStyle not working
Reply #4 - Mar 16th, 2021 at 5:13pm
Print Post  
That makes sense, thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint