Display shape connectors on mouse hover

2 posts, 0 answers
  1. Manuel
    Manuel avatar
    32 posts
    Member since:
    Sep 2013

    Posted 09 Jan 2014 Link to this post

    Is It possible to show connectors on mouse hover?
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 14 Jan 2014 Link to this post

    Hello Manuel,

    In order to achieve your requirement you need to customize the default Template of the RadDiagramShape control. You can find more information about extracting templates in this article.

    Once you have extracted the default template, you will be able to find a control called "ConnectorsControl" it represents the connectors of a shape. In order to visualize it when the mouse is over the shape you will need to customize the VisualState called MouseOver. Basically, you can copy the Storyboard of the ConnectorsAdornerVisible VisualState to the MouseOver VisualState.

    Please give this approach a try and let us know if it works for you.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top