Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 3.8 beta (Read 1081 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Version 3.8 beta
Oct 6th, 2021 at 1:12pm
Print Post  
WpfDiagram version 3.8 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 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.

If anyone is interested in trying the beta version, please download this archive containing updated assembly files -
https://mindfusion.eu/_beta/wpfdiag38.zip

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint