In Out Connecotr and TargetCapType

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 10 Jun 2014 Link to this post

    Hi,

    we add some custom connections to our shapes.

    var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="StartConncetor"};                   
    NewShape.Connectors.Add(outConnector);
    NewShape.UseDefaultConnectors = false;

    Works fine, but how do i edit the TargetCapType in here?

    Thanks a lot
    Best Regards
    Rene
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 11 Jun 2014 Link to this post

    Hi Rene,

    TargetCapTye is a property of the RadDiagramConnection but I think you create custom RadDiagramConnector in your code snippet. If you need to customize somehow these caps, currently there is no possible way but you can vote for the following feature request in our feedback portal.

    Regards,
    Petar Mladenov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top