Routing with implicit style no longer works in Q3 2014

4 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 03 Nov 2014 Link to this post

    Hi,

    I just update to Q3 2014.
    RadDiagram has a style in a dictionary like this

    <Style TargetType="XDGT:XDiagram" >
        <Setter Property="RouteConnections" Value="True" />
        <Setter Property="AllowCopy" Value="False" />
        <Setter Property="AllowCut" Value="False" />
        <Setter Property="AllowDelete" Value="False" />
        <Setter Property="AllowPaste" Value="False" />
        <Setter Property="AllowDrop" Value="False" />
        <Setter Property="IsConnectorsManipulationEnabled" Value="False" />
        <Setter Property="IsInformationAdornerVisible" Value="False" />
        <Setter Property="IsManipulationAdornerVisible" Value="False" />
        <Setter Property="IsResizingEnabled" Value="False" />
        <Setter Property="IsRotationEnabled" Value="False" />
        <Setter Property="IsSnapToItemsEnabled" Value="False" />
        <Setter Property="IsEditable" Value="False" />
        <Setter Property="IsSnapToGridEnabled" Value="True" />
        <Setter Property="ActiveTool" Value="PointerTool" />
        <Setter Property="SelectionMode" Value="Single" />
        <Setter Property="IsBackgroundSurfaceVisible" Value="True" />
        <Setter Property="RectSelectionMode" Value="Partial" />
        <Setter Property="HorizontalAlignment" Value="Stretch" />
        <Setter Property="MinWidth" Value="500" />
        <Setter Property="telerik:DiagramSurface.IsVirtualizing" Value="False" />
        <Setter Property="telerik:DiagramAnimations.IsPanAnimationEnabled" Value="False" />
        <Setter Property="telerik:DiagramAnimations.IsZoomAnimationEnabled" Value="False" />
        <Setter Property="telerik:DiagramAnimations.AnimationDuration" Value="0.01" />
        <Setter Property="Primitives:BackgroundPageGrid.IsGridVisible" Value="False" />
        <Setter Property="Primitives:BackgroundGrid.IsGridVisible" Value="True" />
        <Setter Property="Primitives:BackgroundGrid.LineStroke" Value="#060000ff" />
        <Setter Property="Primitives:BackgroundGrid.CellSize" Value="90,90" />
    </Style>

    BEFORE the update Routing worked - after the update I just had straight lines.
    Adding RouteConnections="true" directly with the control made it work again.

    So this is just informational.

    Manfred
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 03 Nov 2014 Link to this post

    Hello Manfred,
    Thank you for the feedback! Could you please give us a little bit more information on your scenario - where and how do you create your connections and etc. so that we could try to reproduce this behavior and fix it if it's a bug ?
    I've attached our simple test project so that you could take a look at it and tell us what you're doing differently.
    We're looking forward to hearing from you again.

    Regards,
    Zarko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 03 Nov 2014 in reply to Zarko Link to this post

    Hi,

    once again - this post was informational.
    I have a pretty complex solution with my own Layout and routers.

    It worked till I updated to Q3 2014 using the implicit style shown above.
    Recompiling the solution with Q3 brought straight connectors.

    After I added the setter to the control everything worked like before (Q2 2014 SPx).

    The solution is very complex (a lot of assemblies, several style files and so forth), so it is hard to reproduce the "problem" (not really a problem).

    Regards
    Manfred
  5. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 06 Nov 2014 Link to this post

    Hello ManniAT,
    In this case we'll continue to research this issue and we'll try to fix it for the upcoming SP.

    Regards,
    Zarko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top