Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AutoResize and Scrolling (Read 1621 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
AutoResize and Scrolling
Jun 14th, 2010 at 8:36am
Print Post  
Hi Stoyo

I am using new version of Silverlight diagramming control with AutoResize functionality.

I have placed a diagram control in scrollviewer control with vertical and horizontal aligment centrally and the autoresize property to alldirections.

With this setting I have following issues -
1. Moving the node in up direction starts autoresize. If I reach the top position of my scrollviewer control I gets the vertical scrollbar visible/enabled and later on scrollbar thumb starts getting smaller and smaller since diagram area gets increased. -

This behaviour is as expected but the mouse cursor is no more remain on same position. For eq. If i am moving the node with central adjusment handle the cursor is no more at same position.


2. After step 1 when vertical scrollbar is visible, after reaching the scrollbars bottom area, I can't move the node below
- The expected behaviour here is as I move down once the scrollbars bottom area is reached, scrollbar should start moving.


3. Similar to issue 2, if user moves the node first downside and then starts moving upwards, after reaching the top position of scrollviewer, scroll bar should start moving.

How one can achive this ? or any implementation in mindfusion library is required.

Regards
Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AutoResize and Scrolling
Reply #1 - Jun 14th, 2010 at 10:01am
Print Post  
Hi Rajesh,

Scrolling to the left and top is not something implemented by us but a consequence of how ScrollViewer handles the changed size of its child diagram. What you expect corresponds to the AutoScroll property we have in other controls - we'll try to port it to Silverlight in the next couple of days.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AutoResize and Scrolling
Reply #2 - Jun 29th, 2010 at 12:57pm
Print Post  
Hi Rajesh,

This version implements the AutoScroll property:
https://mindfusion.eu/_beta/diaglite17.zip

You asked about node rotation a few weeks ago - that's now available too. You can set the RotationAngle property of ShapeNode to rotate a node, or set EnabledHandles = All to show an adjustment handle for interactive rotation.

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