Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Bind ActualWidth to TemplatedNode Width (Read 1669 times)
azzman
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 9th, 2010
Bind ActualWidth to TemplatedNode Width
Jan 10th, 2011 at 8:01pm
Print Post  
Hi,

Feeling like a bit of a numpty. Is there a way I bind the ActualWidth of a textblock within a datatemplate such as the example (3&4) to force the resizing of the width of the templated node?

I can't seem to get the TemplatedNode to resize when the text is changed.

Thanks
« Last Edit: Jan 10th, 2011 at 9:30pm by azzman »  
Back to top
 
IP Logged
 
azzman
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 9th, 2010
Re: Bind ActualWidth to TemplatedNode Width
Reply #1 - Jan 11th, 2011 at 10:19am
Print Post  
Never mind.

Layout wasn't updating as I had it on a background tab, so ActualWidth was never updated until I switched tabs.

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