Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview in separate control (Read 2567 times)
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
Overview in separate control
Apr 10th, 2008 at 12:27pm
Print Post  
Hi Stoyan

It is possibe to have the diagram in a separately instanced control from teh overview?  I tried this, exposing the diagram from the first control via a property and referenceing it from the second, but this didn't seem to work.


Many thanks


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview in separate control
Reply #1 - Apr 11th, 2008 at 5:06am
Print Post  
Hi Paul,

That's not possible. It's a trade-off we made to allow for using any WPF control as a node, since a control can have just one parent.

You could get something similar to multiple views by using the VisualBrush class. In one view display the Diagram, and in any other view display a rectangle filled with a VisualBrush, whose source is set to the Diagram. When the user activates a view, move the Diagram there, and move the VisualBrush- rectangle to the previously-active view.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
SC
YaBB Newbies
*
Offline



Posts: 37
Joined: Jan 18th, 2008
Re: Overview in separate control
Reply #2 - Oct 23rd, 2008 at 5:33pm
Print Post  
I am trying to retain zoom factors for VisualBrush and Diagram separately. Meaning that user can set diagram to 100% for editing and sets visualbrush to 20% (readonly) just to look the overall picture..


I have hardtime setting zoom factor for visualbrush as it is being controlled by diagram zoom.
« Last Edit: Oct 23rd, 2008 at 7:57pm by SC »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint