Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to enable scroll functionality in the diagram? (Read 2411 times)
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
How to enable scroll functionality in the diagram?
Apr 7th, 2010 at 12:33pm
Print Post  
Hi,
I have a diagram of width 400 with the below property settings,
AutoScroll = "true"
ScrollViewer.CanContentScroll = "true"

If i move a node beyond the width of the diagram, i assumed i will get a scroll bar, but it didn't work.

Is there a way to enable it? Please help.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to enable scroll functionality in the diag
Reply #1 - Apr 7th, 2010 at 12:56pm
Print Post  
Try also setting the Diagram.AutoResize property.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: How to enable scroll functionality in the diag
Reply #2 - Apr 7th, 2010 at 1:03pm
Print Post  
I tried setting AutoResize="RightAndDown", but i am not able to see the scrollbar.

Do we have to put the diagram inside a scrollviewer, doesn't the diagram has an inbuilt scrollviewer?
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to enable scroll functionality in the diag
Reply #3 - Apr 7th, 2010 at 1:08pm
Print Post  
Yes, you must place it either inside a ScrollViewer or a Ruler.
  
Back to top
 
IP Logged
 
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: How to enable scroll functionality in the diag
Reply #4 - Apr 7th, 2010 at 2:32pm
Print Post  
Thanks Stoyan. It helped.
  

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