Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagramming for Windows Forms, V7.2 (Read 78 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 742
Joined: Apr 6th, 2003
Diagramming for Windows Forms, V7.2
Yesterday at 8:29am
Print Post  
We are pleased to announce the release of MindFusion.Diagramming for WinForms version 7.2, which introduces the following new features and improvements:

ItemListView control
ItemListView supersedes NodeListView and lets you show both nodes and links in the list. Items can be added by calling AddItem method, and removed by calling RemoveItem. DefaultNodeSize property from NodeListView is called NewInstanceSize in the new class. The AutoConnectLinks and AutoConnectDistance properties control whether links created via drag-and-drop should connect to nearby nodes in the target diagram. For compatibility with legacy code, NodeListView won't be removed from the library, but it won't be getting any new improvements.

Palette control
The Palette control represents a tool palette that displays DiagramItem objects grouped into categories. It implements Accordion user interface that displays ItemListView components as its child panels, and category icon, title and collapse/expand button in pane headers. Each child ItemListView displays the items added to its corresponding category. Call the AddCategory method to define a category and create its respective accordion pane. Call AddItem to add an item to specified category. The control can also be populated by adding PaletteCategory objects to Palette.Categories collection, and adding items to PaletteCategory.Items. Palette provides same behavior and appearance properties as the ItemListView class.

Miscellaneous
  • Embed font files in exported PDF documents by setting PdfExporter.EmbedFont predicate.
  • To further reduce reliance on BinaryFormatter when persisting binary files, we've added a BinarySerializer interface. Custom implementations should save objects using BinaryWriter and load them using BinaryReader. A BinarySerializer instance can be assigned to PersistContext.BinarySerializer. Its methods are invoked for each non-primitive property of the Control hosted in a ControlNode, and for the Tag and Id properties of DiagramItem.

API changes
  • DraggedNode, used to represent drag-and-drop data created by NodeListView, has been renamed to DraggedItem. DraggedItem can also be used in handlers of ItemListView drag-and-drop events.
  • DiagramNodeEventArgs used by NodeListView events has been renamed to ListNodeEventArgs.

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

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

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