Tiny Spot Visible on Upper Left of Empty RadDiagram

3 posts, 0 answers
  1. Alan
    Alan avatar
    25 posts
    Member since:
    Jan 2013

    Posted 10 May 2013 Link to this post

    I just noticed that even on a RadDiagram with no Shapes there appears to be very small black spot.
    This is most visible when you set the Background of the RadDiagram to White and turn off the grid visibility.
    You may need to zoom quite a way into the diagram to see this.  If you do, it appears as a Black Circle.

    Here is how I am creating my empty RadDiagram in code behind:
       backgroundColor is Colors.White
       isEditingEnabled is false
    private RadDiagram CreateDiagram(Color backgroundColor, bool isEditingEnabled)
        var diagram = new RadDiagram
            IsBackgroundSurfaceVisible = false,
            Background = new SolidColorBrush(backgroundColor),
            IsPanEnabled = false,
            IsZoomEnabled = false,
            AllowCopy = false,
            AllowCut = false,
            AllowDelete = false,
            AllowDrop = false,
            ActiveTool = MouseTool.PointerTool,
            AllowPaste = false,
            IsDraggingEnabled = isEditingEnabled,
            IsResizingEnabled = isEditingEnabled,
            IsRotationEnabled = false,
            IsConnectorsManipulationEnabled = isEditingEnabled,
            IsManipulationAdornerVisible = isEditingEnabled,
            IsManipulationEnabled = isEditingEnabled,
            SelectionMode = isEditingEnabled ? SelectionMode.Single : SelectionMode.None,
            IsSnapToGridEnabled = false,
            IsSnapToItemsEnabled = false,
        DiagramAnimations.SetIsZoomAnimationEnabled(diagram, false);
        ScrollViewer.SetHorizontalScrollBarVisibility(diagram, ScrollBarVisibility.Hidden);
        ScrollViewer.SetVerticalScrollBarVisibility(diagram, ScrollBarVisibility.Hidden);
        return diagram;

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1167 posts

    Posted 15 May 2013 Link to this post

    Hello Alan,

    We can confirm that this behavior of the RadDiagram framework was a bug. However, it is already fixed and the fix is available in our latest internal build. Can you please download it from your account and give it a try.

    Let us know if you need any further assistance.

    All the best,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Alan
    Alan avatar
    25 posts
    Member since:
    Jan 2013

    Posted 15 May 2013 Link to this post

    Yes, it is fixed now.
Back to Top