Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Changing table cell background color (Read 1875 times)
steve
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 23rd, 2010
Changing table cell background color
May 26th, 2011 at 1:02pm
Print Post  
Hi Stoyo,

I need to set the background color of my table cells based on their contents - but I've tried setting
cell.Background property and this doesnt seem to work... Is there another property that needs to be set?

(I'm using version 1.3.0.21960 of Diagramming.Silverlight)

Regards,
Steve
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Changing table cell background color
Reply #1 - May 26th, 2011 at 1:52pm
Print Post  
You will have to add a binding to the Background property to the cell's control template, e.g. set Background={TemplateBinding Background} for the <Border> element. The default templates are listed here:http://www.mindfusion.eu/onlinehelp/diagramlite/index.htm?Default_Control_Templa....

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