Limit usable diagram area to PageSize

3 posts, 1 answers
  1. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 19 Sep 2014 Link to this post

    Hello,

    is there any possibility to limit the usable diagram area to the page size (specified using primitives:BackgroundPageGrid.PageSize)?
    At the moment, I have only the unimpressive lines from the BackgroundPageGrid - the user can still move the shapes outside of this area (where they won't be visible when the diagram is used as dashboard in action).

    Alex
  2. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 23 Sep 2014 Link to this post

    Hello Alex,

    Please, take a look at the Custom Services SDK example of RadDiagram and let me know if it works for you. The example demonstrates implementing of few custom services including DraggingService that can restrict the drag of the shapes in a predefined rectangle

    Regards,
    Martin
    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
  4. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 30 Sep 2014 in reply to Martin Link to this post

    Thanks. Works as expected.
Back to Top