Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramNodeAdapter autoresize (Read 2137 times)
Kortexito
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 6th, 2007
DiagramNodeAdapter autoresize
Apr 24th, 2008 at 11:48am
Print Post  
Hi,

I have an Expander control on my usercontrol which is hosted in a DiagramNodeAdapter. I want the DiagramNodeAdapter to resize when the Expander gets expanded or collapsed.

What is the easiest way to accomplish this?

Best Regards.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramNodeAdapter autoresize
Reply #1 - Apr 24th, 2008 at 2:02pm
Print Post  
Hi,

I suppose you could handle the Expanded and Collapsed events of the Expander, and set the Bounds of the adapter node to match the DesiredSize of the user control.

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