Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for WPF, V3.8 (Read 2260 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 685
Joined: Apr 6th, 2003
Diagramming for WPF, V3.8
Nov 18th, 2021 at 11:22am
Print Post  
We have released version 3.8 of WPF Diagram control. It contains the following new features and improvements:

Scrollable containers
Set the Scrollable property of ContainerNode to let users scroll the container's contents. The node then displays scrollbars at right and bottom edges that can be used to scroll interactively. The ScrollX and ScrollY properties let you determine current scroll position or change it programmatically. Note that in order to let container's content overflow and become scrollable, you must either disable AutoGrow, or allow users reduce container size by changing HandlesStyle and EnabledHandles properties from their default MoveOnly / Move values.

Container improvements
  • ContainerNode containment is no longer implemented via a Group object. Child nodes are now stored in a dedicated Children collection, and a node's container is returned by the Container property.
  • The ClipChildren property specifies whether to clip child items to container’s boundaries.
  • Enable the AutoDeleteChildren property to automatically delete child nodes when a container is deleted.
  • Drag-and-drop operations from NodeListView and ShapeListBox automatically add the newly created node to a container if one is found at the drop position.
  • Call the ResizeToFitChildren method to resize a container, making it big enough to contain its child nodes.
  • The FoldedSize property of ContainerNode specifies the container's size when it is folded.
  • The KeepInsideParent constraint of child nodes now also prevents them from overlapping the container's caption bar.

API changes
  • Container's child nodes are no longer accessible via SubordinateGroup; use the container's Children collection instead.
  • A node's container is no longer accessible via MasterGroup; use the Container property instead.
  • Child nodes are now also children of their Container in the WPF visual tree, instead of the Diagram, which could affect code that relies on VisualTreeHelper API.

Installer for the latest version can be downloaded here, or from the clients area on our site:
https://mindfusion.eu/WpfDiagTrial.zip

Updated assemblies are also available as MindFusion.Diagramming.Wpf NuGet package.

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint