Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node.FontStyle & Cell.FontStyle Issue (Read 1672 times)
steve
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 23rd, 2010
Node.FontStyle & Cell.FontStyle Issue
Feb 25th, 2010 at 1:11pm
Print Post  
Hi - I've been using the DiagramLite trial version dll in my dev project, and have just purchased the full version of DiagramLite 1.3 - and replaced the dll in the project.

Everything still compiles and runs fine (as far as I have tested so far) except that the FontStyle and FontWeight properties on ShapeNode and TableCell objects dont seem to be working (although they were working correctly with the demo dll).

Has anyone else experienced this? Any suggestions?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node.FontStyle & Cell.FontStyle Issue
Reply #1 - Feb 25th, 2010 at 3:59pm
Print Post  
Hi,

What version number were you using before? It seems these properties are inherited from the base Control class and I can't see them used anywhere in the component's code. In case you were using V1.1 until now - since the 1.2 release ShapeNodes and TableNodes are defined through control templates that host TextBlock elements, and maybe the inherited values are not used since then.

We'll release V1.4 soon and will add template bindings for these properties. For the time being you could copy the default templates from the help file and modify them to include FontStyle and Weight.

Stoyan
  
Back to top
 
IP Logged
 
steve
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 23rd, 2010
Re: Node.FontStyle & Cell.FontStyle Issue
Reply #2 - Feb 25th, 2010 at 4:01pm
Print Post  
Thanks Stoyan - I'll try that.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node.FontStyle & Cell.FontStyle Issue
Reply #3 - Mar 3rd, 2010 at 4:16pm
Print Post  
Hi Steve,

The node templates in this version bind to all font-related properties derived from Control:
https://mindfusion.eu/_beta/diaglite14_sp.zip

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