MindFusion.WPF Pack 2024.R3
Released: Sep 1, 2024
Atualizações na 2024.R3
Recursos
Diagramming for WPF
- Export XPS files
- The XpsExporter class from MindFusion.Diagramming.Wpf.XpsExport.dll assembly exports diagrams to XPS (XML Paper Specification) files. The Export method overloads let you export either Diagram or DiagramDocument objects.
- Support for custom in-place edit controls
- Handle the CreateEditControl event to display a custom WPF control for users to edit item's content. This event is raised when entering in-place editing mode, either interactively by users or by calling the BeginEdit method. You could handle the event to return a composite control for editing many of the item's properties, and not only text. When leaving in-place editing mode, the DiagramView raises DestroyEditControl to let you copy to the item any values entered by the user and close the custom editor.
- ContainerNode improvements
- Unfolding a ContainerNode now always restores original size from UnfoldedSize property, regardless of AutoGrow and AutoShrink values. To revert to old behavior, call ResizeToFitChildren from ContainerUnfolded event handler.
- New mouse events
- NodePointerEnter and NodePointerLeave are raised when the mouse pointer respectively enters or leaves the boundaries of a node. NodeHovered fires if the pointer rests over a node for HoverDelay milliseconds.
- LinkPointerEnter and LinkPointerLeave are raised when the mouse pointer respectively enters or leaves the boundaries of a link. LinkHovered fires if the pointer rests over a link for HoverDelay milliseconds.
- Miscellaneous
- DividerPen property added to ContainerNode, TableNode and TreeViewNode classes. It lets you customize the appearance of the divider line drawn between a node's caption bar and content area.
- ScrollWheelDelta and ScrollClickDelta properties let you customize the amount by which the view scroll position changes when users scroll using the mouse wheel or by clicking scrollbar arrows.
- Handle the CreateToolTipControl event to create custom ToolTip instances.
- AutoHandlesItem and AutoAnchorsNode properties return the items that currently display automatic adjustment handles or anchor points.
- Minimum required .NET Framework version lowered from 4.7.2 to 4.6.2.
- API changes
- The TextBox property of InPlaceEditEventArgs has been renamed to EditControl, and its type changed from TextBox to base Control type.
Correções
Diagramming for WPF
- ContainerNode improvements
- PatternRouter no longer ignores containers whose Obstacle property is enabled.
- Fixed ContainerNode rotation for children added using GroupAnchorStyles or AttachToNode flags.
- Fixed ContainerNode rotation when RotationStep is set.
- Miscellaneous
- Fixed SvgExporter and PdfExporter memory leaks.
- Fixed exceptions in SvgExporter for some text symbols.
- The ToolTipDelay property lets you specify the delay in milliseconds before showing an item's tool-tip.
- DiagramLink tool-tip fixes.
- Fix for node presenter not disappearing until next WPF layout pass if UIElement.UpdateLayout is called from NodeDeleted.
- Fixed exception thrown when a custom node template contains TextRun objects.
- Fixed rendering of RoundedLinks with larger StrokeThickness.
- Fix for tooltips not closing when the mouse pointer moves outside of the DiagramView.