Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic InitializeNode event and constraint properties (Read 1610 times)
jonathanm
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: May 24th, 2009
InitializeNode event and constraint properties
May 25th, 2009 at 11:58am
Print Post  
In the Programming Interface Overview section of the help file, subsection Controlling User Interaction-Item Constraints mentions constraint properties and subsection Handling Events mentions an InitializeNode event. Do these exist in the Silverlight version? They seemed like what I need to control the size of nodes being created.

How would I constrain the size of a node created using default behaviours? How would I do it otherwise?

Thanks for any help.
Jonathan

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: InitializeNode event and constraint properties
Reply #1 - May 25th, 2009 at 12:10pm
Print Post  
Hi Jonathan,

We haven't ported this property yet. At this time you could handle NodeModified and NodeCreated, and if the width or height of the node are smaller than the minimum allowed in your application, set them to the allowed value. Another possibility is to set e.Cancel = true from the NodeModifying and NodeCreating validation event handlers.

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