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:
<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!