Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MindFusion.WinForms Pack, 2021.R1 (Read 5710 times)
Forum Admin
YaBB Administrator

Rock and Roll

Posts: 695
Joined: Apr 6th, 2003
MindFusion.WinForms Pack, 2021.R1
Jun 30th, 2021 at 11:43am
Print Post  
We have released MindFusion.WinForms Pack 2021.R1. It adds following new features and improvements:

.NET 5 support
The MindFusion.WinForms Pack distribution now includes assemblies for .NET 5. Locally installed assemblies do not appear automatically in Visual Studio toolbox at this time; you can either add them manually or through Nuget package manager.


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 the dedicated Children collection, and a node's container is returned by the Container property.
  • Enable the AutoDeleteChildren property to automatically delete child nodes when a container is deleted.
  • Drag-and-drop operations from NodeListView, ShapeListBox and ShapeToolBar 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 KeepInsideParent constraint of child nodes now also prevents them from overlapping the container's caption bar.

Lasso zoom tool
The control now supports several ways to zoom using lasso tool:
  • Set the Behavior property to Zoom to always draw zoom lasso.
  • Set the Zoom flag for one of the keys in ModifierKeyActions to let users draw zoom-lasso with respective modifier key pressed and the left mouse button.
  • Assign Zoom value to RightButtonActions or MiddleButtonActions property to zoom using respective mouse button.

CompositeNode Json templates
CompositeNode templates can now be defined in JSON format compatible with MindFusion JavaScript diagramming library:

Select All
string template = @"{
 ""component"": ""SimplePanel"",
   ""component"": ""Shape"",
   ""name"": ""Frame"",
   ""pen"": ""black"",
   ""strokeThickness"": 0.2,
   ""isOutline"": true,
   ""autoProperty"": true

Call the LoadJsonTemplate method to create components from JSON definition. The GenerateJsonTemplate method returns a JSON template generated from current component hierarchy.

  • The InitializeLasso event lets you customize appearance of selection lasso before it shows on screen.
  • NodeListView now displays ToolTip value of nodes.
  • ImageAlign supports new FitLeft, FitTop, FitRight and FitBottom alignment styles, which resize Image to fit node's boundaries and align it to respective border.
  • Layout classes now process DiagramLinks connected to TreeViewItems.
  • JSON serialization fixes.
  • HandlesVisualStyle objects are now saved in JSON files.
  • New BringIntoView overload lets you scroll to specified rectangular area.
  • New ZoomToRect overload lets you zoom to a rectangular area while keeping it centered in the viewport.
  • The MoveNodes behavior allows grabbing nodes to drag them without using adjustment handles.
  • Fixed exception in GridRouter.
  • Font fallback is now enabled by default. To disable font fallback, set the NoFontFallback flag in TextFormat property of diagram and items.
  • LoadImage method of SvgContent no longer tries to download SVG dtd schema definitions.

API changes
  • ContainerNode's child nodes are no longer accessible via SubordinateGroup; use the container's Children collection instead.
    A node's parent ContainerNode is no longer accessible via MasterGroup; use the Container property instead.
  • Type of ContextMenu property of Ruler control changed from ContextMenu to ContextMenuStrip.

  • Area charts are now rendered relatively to axis' Origin too.
  • Set non-zero start of FunctionSeries range.
  • ImageAlign supports new FitLeft, FitTop, FitRight and FitBottom alignment styles, which resize image to fit ImageComponent's boundaries and align it to respective border.
  • NearestElement method returns the closest data element to specified location.
  • Fix for duplicated tooltips when a form contains more than one Dashboard.


Dark themes
Two dark themes added, accessible via the Dark and Black elements of ThemeType enumeration, and static Dark and Black properties of Theme class.

  • ExcelImporter fix for default false value of validations' showErrorMessage attribute.
  • SUMIF and AVERAGEIF fixes for multiple-column ranges.
  • ExcelExporter truncates sheet names to fit within maximum of 30 character supported by Excel.

  • DirListBox control displays a directory tree showing the path to specified directory as parent nodes and its subdirectories as child nodes.
  • FileListBox control displays a list of files in specified directory.

Installer for the latest version can be downloaded here, or from the clients area on our site:

Updated assemblies are also available as NuGet package.

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