Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AllowOutgoingLinks set to false allows drawing (Read 1999 times)
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
AllowOutgoingLinks set to false allows drawing
Mar 29th, 2010 at 7:33am
Print Post  
When AllowOutgoingLinks is set to false the user is still allowed drawing an outgoing link. The only difference in behavior is that link is not created when mouse up event is fired. This is extremely unusable for the users.
What is the proper way to restrict drawing outgoing links for version 1.2? I think this should be covered by the component instead of custom behaviors, logic overrides, etc.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AllowOutgoingLinks set to false allows drawing
Reply #1 - Mar 29th, 2010 at 8:47am
Print Post  
Try cancelling this from a LinkCreating handler:

Code
Select All
private void OnLinkCreating(object sender, LinkValidationEventArgs e)
{
	if (!e.Origin.AllowOutgoingLinks)
		e.CancelDrag();
} 

  
Back to top
 
IP Logged
 
Denis_Vuyka
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Mar 23rd, 2010
Re: AllowOutgoingLinks set to false allows drawing
Reply #2 - Mar 29th, 2010 at 8:49am
Print Post  
Are there any chance that we will get that out-of-box in the future? The most frustrating thing is that our diagrams seem to be more from Windows Forms world rather than from Silverlight. 90% of logic needs to be done in code rather than xaml Sad
Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AllowOutgoingLinks set to false allows drawing
Reply #3 - Mar 29th, 2010 at 11:30am
Print Post  
Yes, in version 1.4 we are now releasing.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AllowOutgoingLinks set to false allows drawing
Reply #4 - Mar 29th, 2010 at 12:35pm
Print Post  
Actually it also works in V1.3, except for the DrawLinks behavior.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint