Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Border color in TableNode (Read 4986 times)
wojto
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 20th, 2010
Border color in TableNode
Jan 22nd, 2010 at 12:59pm
Print Post  
Hi, I'm trying to set border color of a TableNode but it doesn't seem to work. I tried changing Pen and BorderBrush but it doesn't work.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Border color in TableNode
Reply #1 - Jan 22nd, 2010 at 1:26pm
Print Post  
Hi,

It's a bug, we haven't bound the TableNode's control template to the DiagramItem.Stroke property. For now you could copy the template from the "Default Control Templates of Diagram Items" topic in the help file, and replace Stroke="Black" with the color you need, or with Stroke="{TemplateBinding Stroke}".

Stoyan
  
Back to top
 
IP Logged
 
wojto
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 20th, 2010
Re: Border color in TableNode
Reply #2 - Jan 22nd, 2010 at 1:49pm
Print Post  
Hmm, I didn't want to use any templates... Any chance it's gonna be fixed in the next release?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Border color in TableNode
Reply #3 - Jan 22nd, 2010 at 2:03pm
Print Post  
Ok, we'll upload a fix in a few days.
  
Back to top
 
IP Logged
 
wojto
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 20th, 2010
Re: Border color in TableNode
Reply #4 - Jan 22nd, 2010 at 2:30pm
Print Post  
Thank you!
  
Back to top
 
IP Logged
 
wojto
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 20th, 2010
Re: Border color in TableNode
Reply #5 - Jan 22nd, 2010 at 3:43pm
Print Post  
Found another thing - it seems that TableNode doesn't support NodeDoubleClicked event?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Border color in TableNode
Reply #6 - Jan 22nd, 2010 at 5:36pm
Print Post  
It might be raising CellDoubleClicked?
  
Back to top
 
IP Logged
 
wojto
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Jan 20th, 2010
Re: Border color in TableNode
Reply #7 - Jan 22nd, 2010 at 5:40pm
Print Post  
Yeah it works, but when you doubleclick the Caption of TableNode - nothing happens.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Border color in TableNode
Reply #8 - Jan 24th, 2010 at 9:09am
Print Post  
This version should work better; it also adds the rest of the Stroke* properties to the TableNode template:

https://mindfusion.eu/_beta/DiagramLite13.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint