Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1300
Is it possible to fix connectors of the shape?
posted

Hi,

Is it possible to fix connectors at corners/required position of the shape and keep the connection lines always fixed to same connector even while moving the shapes manually?

Something like in attachment.

Regards,

Prasad

Parents
  • 17475
    Offline posted

    Hello and thank you for your post!

    The connection points that are used are automatically adjusted if they are not specified. If you set the EndNodeConnectionPointName to a value it won’t be adjusted e.g.
    <ig:ConnectionDefinition.ConnectionStyle>
                            <Style TargetType="ig:DiagramConnection">
                                <Setter Property="EndNodeConnectionPointName" Value="Right"/>
                                <Setter Property="Stroke" Value="DarkGreen"/>
                                <Setter Property="Foreground" Value="DarkGreen"/>
                                <Setter Property="Fill" Value="DarkGreen"/>
                                <Setter Property="Content" Value="Reports to"/>
                                <Setter Property="EndCapType" Value="None"/>
                                <Setter Property="StartCapType" Value="FilledArrow"/>
                            </Style>
                        </ig:ConnectionDefinition.ConnectionStyle>
    You may also refer to the following help topic for details on the same: http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamDiagram_Configuring_the_Start_and_End_of_Diagram_Connections.html#_Ref388549185

Reply Children
No Data