Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 2.1.1 beta (Read 2814 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 2.1.1 beta
Jan 28th, 2009 at 11:17am
Print Post  
https://mindfusion.eu/_beta/wpfdiag211.zip

~ This version implements the most requested feature so far, the DiagramView control, which can be used to implement MDI interfaces where several views show different parts of a Diagram. In Xaml one of the views can be set as container of the diagram as shown below:

Code
Select All
<d:DiagramView x:Name="dv1" Grid.Row="1" Grid.ColumnSpan="2" Margin="0,0.223,0,0">
	<d:Diagram x:Name="d" Bounds='0, 0, 100, 100'></d:Diagram>
</d:DiagramView>
 



and other views can be bound to the same diagram either by programmatically setting their Diagram property, or by using the WPF binding syntax in Xaml for the Diagram property.

~ TreeLayout has been extended to arrange binary trees as shown below:


To enable this, set TreeLayout.Type = TreeLayoutType.HorizontalVertical.

~ TreeLayout can create MS-Office like organization charts. To set some nodes as assistants, set

node.LayoutTraits[MindFusion.Layout.TreeLayoutTraits.Assistant] = true;

and before calling TreeLayout.Arrange:

treeLayout.Enableassistants = true;

~ The AutoUpdateSize property is now called SizeSyncMode and its values can be set to the following:

- Arrange: Resizing the node calls Arrange on the hosted element.
- SetSize: Resizing the node sets the hosted element's Width and Height properties.
- Measure: The node is resized automatically to match the element's DesiredSize.

Even if you don't try any new features, it still helps us a lot to check if your existing applications run fine with the new version.

Many thanks to anyone who tries this beta version!
  
Back to top
 
IP Logged
 
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
Re: Version 2.1.1 beta
Reply #1 - Jan 30th, 2009 at 11:17am
Print Post  
I notice that the TreeLayoutDirection enum has been renamed to TreeLayoutDirections - not a killer, granted, but it is akward (I presume I've not missed a post saying this was changed?).


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 2.1.1 beta
Reply #2 - Jan 30th, 2009 at 11:31am
Print Post  
Now it's a flag enum, the directions can be combined for the HorizontalVertical layout, and Microsoft recommend flag enum names to be in plural. We'll upload updated docs next week.
  
Back to top
 
IP Logged
 
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
Re: Version 2.1.1 beta
Reply #3 - Jan 30th, 2009 at 11:44am
Print Post  
Just tried the SizeSyncMode - looking good Smiley

We apreciate you and your teams efforts, and thank you all for it.


I also found today the cause of my issue with the help file released a couple of weeks ago - Vista had marked it as "coming from a different computer" and had blocked it (the fact that the file + it's content are local yet it still blocked it is beyond me..) - clicking an "unblock" button on the file properties tab cleared the problem.


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 2.1.1 beta
Reply #4 - Jan 30th, 2009 at 11:58am
Print Post  
great 8)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Version 2.1.1 beta
Reply #5 - Feb 10th, 2009 at 2:38pm
Print Post  
Last beta build:
https://mindfusion.eu/_beta/wpfdiag211.zip

We are releasing version 2.1.1 on Friday if no further bugs come up by then.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint