How to get the parent Diagram of a RadDiagramShape in code?

3 posts, 0 answers
  1. Greg
    Greg avatar
    34 posts
    Member since:
    Sep 2012

    Posted 07 Jun Link to this post

    How can I get the parent Diagram of a RadDiagramShape in code?

    There is a "Diagram" property but it's protected and can't be accessed.

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 07 Jun Link to this post

    Hello Greg,

    You can use ParentOfType<RadDiagram>() extension method from Telerik.WIndows.Controls.

    Regards,
    Petar Mladenov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Greg
    Greg avatar
    34 posts
    Member since:
    Sep 2012

    Posted 07 Jun Link to this post

    Excellent. Thank you!
Back to Top