We have released WpfDiagram version 2.3.1. It contains the following new features:
New font propertiesThe Font property of diagram nodes, table cells and treeview items is deprecated. The DiagramItem class now exposes FontFamily, FontSize, FontStretch, FontStyle, FontWeight and TextDecorations dependency properties. This enables better support for the WPF animation and styling features. The Cell and TreeViewItem classes now derive from a common TextPresenter class that provides the same font properties as DiagramItem.
New text alignment propertiesThe TextFormat and CaptionFormat properties are now deprecated. They have been replaced by the TextAlignment, TextVerticalAlignment, TextWrapping and TextTrimming properties defined in DiagramItem. In addition, there is a new TextPadding property that specifies the padding of text within the text's bounding rectangle. The same properties are exposed by TextPresenter - the new base class of the Cell and TreeViewItem classes.
New pen propertiesThe Pen property of DiagramItem is deprecated. It has been replaced by Stroke, StrokeThickness, StrokeDashStyle, StrokeDashCap, StrokeStartLineCap, StrokeEndLineCap, StrokeLineJoin and StrokeMiterLimit. This enables better support for the WPF animation and styling features.
Miscellaneous ~ The OriginConnection and DestinationConnection properties of DiagramLink enable getting detailed information about the link's origin and destination, such as the target TreeViewItem when connected to a TreeViewNode.
~ Auto-scrolling in the Overview control has been improved.
~ The Overview control can be scrolled programmatically using its ScrollTo method.
~ ClipText property added to ShapeNode.
~ GetNearestNode returns the node nearest to the specified point.
~ The SetBounds method can be used to set a node's Bounds without changing the position of attached nodes.
Registered customers with an active upgrade subscription can download the licensed version from the
clients area on our site.
A trial version is available for download here:
https://mindfusion.eu/WpfDiagTrial.zip Enjoy!