Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LinkPen not affected the Links (Read 1657 times)
Joel D.
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Location: Seattle
Joined: Feb 6th, 2017
LinkPen not affected the Links
Jul 4th, 2017 at 6:24pm
Print Post  
I've tried assigning a Pen to my diagram's LinkPen property, but all of the Links still show up with the normal thin black line.  Is there anything else that needs setting or handling to make the diagram use the Pen from LinkPen?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3166
Joined: Oct 19th, 2005
Re: LinkPen not affected the Links
Reply #1 - Jul 4th, 2017 at 6:40pm
Print Post  
LinkPen should be giving you obsolete warning. You can set default stroke using styles instead -

Code
Select All
<Style TargetType="{x:Type diag:DiagramLink}">
	<Setter Property="Stroke" Value="Red" />
</Style> 



Regards,
Slavcho
  
Back to top
 
IP Logged
 
Joel D.
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Location: Seattle
Joined: Feb 6th, 2017
Re: LinkPen not affected the Links
Reply #2 - Jul 5th, 2017 at 10:07pm
Print Post  
Cool, thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint