Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Styling a diagram link (Read 4490 times)
PetrOs
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 36
Joined: May 26th, 2011
Styling a diagram link
May 7th, 2012 at 9:50am
Print Post  
Hi,

I have a following problem:
I have a diagram with links, which are running horizontally. I need to style them so, that the label has a text color and a coloured background, and the link itself needs to be styled in line thickness, dashed or not, and color. How do I do this? I managed to only get the text color so far, but not the background or link style, and it is a critical requirement for me...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Styling a diagram link
Reply #1 - May 7th, 2012 at 2:20pm
Print Post  
Hi,

At this time link labels have a background color set only if link.TextStyle is set to OverLongestSegment. You can style links by setting their Stroke, StrokeThickness and StrokeDashStyle properties.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Gravity
Junior Member
**
Offline


I Love MindFusion!

Posts: 52
Joined: Sep 21st, 2016
Re: Styling a diagram link
Reply #2 - Oct 4th, 2016 at 11:37am
Print Post  
Stoyo wrote on May 7th, 2012 at 2:20pm:
Hi,

At this time link labels have a background color set only if link.TextStyle is set to OverLongestSegment. You can style links by setting their Stroke, StrokeThickness and StrokeDashStyle properties.

I hope that helps,
Stoyan



And how do you set one? I find no such property as Stroke or StrokeThickness in DiagramLink
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Styling a diagram link
Reply #3 - Oct 4th, 2016 at 1:25pm
Print Post  
In WPF version of the diagram these properties are derived from the base FrameworkElement class. In the ASP.NET version you are using, you must set the Pen property instead.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Gravity
Junior Member
**
Offline


I Love MindFusion!

Posts: 52
Joined: Sep 21st, 2016
Re: Styling a diagram link
Reply #4 - Oct 4th, 2016 at 2:01pm
Print Post  
Slavcho wrote on Oct 4th, 2016 at 1:25pm:
In WPF version of the diagram these properties are derived from the base FrameworkElement class. In the ASP.NET version you are using, you must set the Pen property instead.

Regards,
Slavcho
Mindfusion


Damn you are good.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint