Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MindFusion.WPF Pack, 2022.R1 (Read 55 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 635
Joined: Apr 6th, 2003
MindFusion.WPF Pack, 2022.R1
Aug 3rd, 2022 at 8:35am
Print Post  
We have released MindFusion.WPF Pack 2022.R1. It adds following new features and improvements:

.NET 6 support
The MindFusion.WPF Pack distribution now includes assemblies and sample projects for .NET 6. 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.

MindFusion.Diagramming

Multiple labels per node
The NodeLabel class allows multiple captions to be displayed for a single DiagramNode of any type. Node labels provide a set of properties allowing full customization of their display and positioning. Label position is defined by specifying a pin point and offset from it, set through SetCornerPosition, SetEdgePosition, SetCenterPosition methods. In addition, the TextAlignment and TextVerticalAlignment properties of NodeLabel specify on which side of pin point to draw the label's caption.

For example, following code adds extra labels to top-left and bottom-right corners of a ShapeNode:
Code
Select All
var node = diagram.Factory.CreateShapeNode(30, 70, 80, 60);
node.Text = "text"; // centered main text

var lb1 = node.AddLabel("label 1");
lb1.SetCornerPosition(0, 0, 0);
lb1.TextAlignment = TextAlignment.Left;
lb1.TextVerticalAlignment = AlignmentY.Top;
lb1.Brush = Brushes.Red;
lb1.TextBrush = Brushes.White;
lb1.Margin = new Thickness(4);
lb1.TextPadding = new Thickness(0);

var lb2 = node.AddLabel("label 2");
lb2.SetCornerPosition(2, 0, 0);
lb2.TextAlignment = TextAlignment.Right;
lb2.TextVerticalAlignment = AlignmentY.Bottom;
lb2.Brush = Brushes.Yellow;
lb2.TextBrush = Brushes.Red; 


Export improvements
  • New Export overloads of exporter classes allow writing to System.IO.Stream.
  • ExcelExporter exports pen width of links.
  • ExcelExporter sets more precise positions of link end points.

Miscellaneous
  • The MoveLabels behavior lets user move link and node labels interactively.
  • HorizontalOffset and VerticalOffset now work for link labels positioned using SetLinkLengthPosition method.

MindFusion Virtual Keyboard
  • CurrentCase now reflects Shift + AltGr combinations.
  • The control now tracks state of Caps-lock and Shift keys of physical keyboard (if one is attached to the system).
  • The Stretch property specifies how the control fills available space in its parent element.
  • ChangeLanguage overloaded methods let you set current language either by Windows SDK layout identifier or by CultureInfo.

MindFusion.Spreadsheet
  • MROUND function fixed for 0 argument values.

MindFusion.Reporting
  • The FromFile method lets you load a report template from external file.
  • The FromStream method lets you load a report template from System.IO.Stream.
  • Report expressions can now fetch values from DataRow fields.
  • Report expressions no longer throw exception for DBNull values.


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

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

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