Last Updated: 02 Sep 2019 13:42 by ADMIN
Release R3 2019
Setting ContainerMargin constant to 0 will make the margin 0 on the left, bottom and right side of the content. However, the shapes in the content of the container, will overlap its header. Expected is child shapes do not overlap any borders in the container.
Last Updated: 17 May 2019 15:15 by ADMIN
Release LIB 2019.2.520 (05/20/2019)

The exception is thrown for the RotationAngle property.

The issue can be observed also in the opposite direction - the diagram is serialized on a machine with some culture (for example Portugal Porguese - pt-PT) and then restored on a machine with an English culture.

The issue reproduces only when saving and loading between cultures which numeric separators are different. For example, with Bulgarian culture, the number 4.5 is represented as 4,5 (with a comma). With English culture the number will be represented as 4.5 (with a period).

To work this around, create a custom RadDiagramShape and override its Deserialize() method. Then parse the RotationAngle manually, and set it to the RotationAngle property of the shape. After this, set the RotationAngle of the SerializationInfo to null, in order to prevent the default restoring of the property.

public partial class CustomShape : RadDiagramShape, IEquatable<BaseShape>
    public override void Deserialize(SerializationInfo info)
        if (info["RotationAngle"] != null)
            var angle = Convert.ToDouble(info["RotationAngle"].ToString(), CultureInfo.InvariantCulture);
            this.RotationAngle = angle;               
            info["RotationAngle"] = null;

Last Updated: 22 Jul 2019 06:44 by ADMIN
Release LIB 2019.2.722 (7/22/2019)

To reproduce this use the following code snippet:

    <telerik:RadDiagramShape Content="Shape 1" Position="100, 100"/>
    <telerik:RadDiagramShape Content="Shape 2" UseGlidingConnector="True" Position="300, 100"/>

Steps to reproduce:

1. Start a new connection from Shape 1, by dragging one of its connectors.
2. Drag the connection over Shape 2. 

Expected: The connector closest to the mouse should get highlighted and when you drop the connection it should get attached to the shape.
Actual: The closest connector is not highlighted. Also, when you drop the connection over the target shape it doesn't get attached.

Last Updated: 11 Feb 2019 13:32 by ADMIN
When executing the DiagramCommands.Nudge command with a provided number as a parameter, the movement of the selected shape is incorrect. 
Last Updated: 12 Feb 2019 12:58 by ADMIN
The undo and redo actions don't work for the "Move Items" event. This means that nothing will happen when you select a Bezier connection (ConnectionType=Bezier) and drag/drop it to a new position, then press Ctrl+Z.
Last Updated: 20 Aug 2018 08:10 by ADMIN
RadDiagramShape has NULL content but has DataContext and ContentTemplate.

In the ContentTemplate there are UIElements defined. Their automation peers are not added in the automation tree.

This can be observed in UIVerify tools.
Last Updated: 30 Mar 2018 11:08 by ADMIN
As a workaround, the property can be set locally for the time being.
Last Updated: 13 Dec 2017 14:19 by ADMIN
When you select the Size tab and than select another shape where the Size should not be available, its content is shown whether is enabled or not. The SettingsPane should fallback to an enabled tab when one is disabled.

To work this around you can create a custom RadTabControl and implement custom fallback selection logic there. Then replace the RadTabConrol from the ControlTemplate of the SettingsPaneView with the custom tab control. Check the attached project.
Last Updated: 03 Nov 2017 12:51 by ADMIN
RadDiagram with virtualization turned off.

Randomly positioned 5000 shapes are added in Diagram.

For the test, Shapes are with simplified template consisting pretty much of a single Border and nothing else.

On maximized WPF window, Diagram Load for about 3-3.5 seconds.

On normal WPF window, DIagram loads for about 15 seconds.

Last Updated: 20 Oct 2017 12:11 by ADMIN
Windows DPI is 125 % (you need to sign out from win 10 then sign in again in order to apply the setting successfully).

Diagram is hosted in RibbonWindow.

The diagram ruler does not show the ticks and labels on the left of the zero tick (label). The Position property of Diagram could (0,0) or (500, 0), (300, 0) etc...

Check the attached image for better illustration.

Workaround could be replacing the RibbonWindow with MS Window.
Last Updated: 13 Jun 2018 06:19 by ADMIN
As a workaround, you can create a custom class which derives from RadDiagramConnector and override the Serialize() method.

public class CustomConnector : RadDiagramConnector
        static CustomConnector()
            DefaultStyleKeyProperty.OverrideMetadata(typeof(CustomConnector), new FrameworkPropertyMetadata(typeof(CustomConnector)));
    public override SerializationInfo Serialize()
            var info = new Telerik.Windows.Diagrams.Core.SerializationInfo(this.GetType());

            if (this.Name != null) info[Telerik.Windows.Diagrams.Core.SerializationConstants.ConnectorName] = this.Name;

            info[Telerik.Windows.Diagrams.Core.SerializationConstants.Offset] = this.Offset.ToInvariant();

            if (Telerik.Windows.Controls.DependencyObjectExtensions.IsLocalValueSet(this, RadDiagramConnector.WidthProperty)) info[Telerik.Windows.Diagrams.Core.SerializationConstants.Width] = this.Width.ToInvariant();
            if (Telerik.Windows.Controls.DependencyObjectExtensions.IsLocalValueSet(this, RadDiagramConnector.HeightProperty)) info[Telerik.Windows.Diagrams.Core.SerializationConstants.Height] = this.Height.ToInvariant();

            return info;
Last Updated: 26 Oct 2017 07:53 by PeterS
This is reproducible only if you set the RotationOrigin property to a value different than (0.5,0.5). Also, the rotation angle is wrong only on the first call of the Rotate() method of the service. 

To work this around you can create a custom RotationService and override its CalculateRotationAngle() method where you can calculate custom angle.
Last Updated: 18 Oct 2017 08:07 by ADMIN
Last Updated: 21 Sep 2017 09:00 by ADMIN
When you switch between two different positions and zoom levels leads to a wrong visualization of the diagram items.
Last Updated: 20 Sep 2017 08:01 by ADMIN
Loading the diagram via its Load() method adds additional "Copy of" to the GroupName property of the groups.
Last Updated: 26 Apr 2018 08:09 by ADMIN
Use TextTool to create shape with no text but with background.

Pressing enter will close the tool. But the shape remains visible, but you cannot neither select it nor delete it with mouse / keyboard.
By design this shape should be removed both from the Shapes collection and from the diagram surface.

 private void diagram_CommandExecuted(object sender, CommandRoutedEventArgs e)
            if (e.Command.Name == "Edit Item")
                foreach (RadDiagramTextShape textShape in this.diagram.ChildrenOfType<RadDiagramTextShape>())
                    if (!this.diagram.Shapes.Contains(textShape))
                        Canvas parent = textShape.Parent as Telerik.Windows.Controls.Diagrams.DiagramSurface;
                        if (parent != null)
Last Updated: 10 Jul 2017 14:21 by ADMIN
Last Updated: 09 Mar 2017 16:13 by ADMIN
Created by: Martin Ivanov
Comments: 0
Category: Diagram
Type: Bug Report
This is reproducible when:
- Copy a shape and paste it in the diagram
- Drag and drop from the diagram toolbox
1 2 3 4 5