RadGridView Inside RadDiagramShape

2 posts, 0 answers
  1. Vivian
    Vivian avatar
    13 posts
    Member since:
    Feb 2013

    Posted 18 Feb 2013 Link to this post


    I would like to ask :-

    1) How can I place a RadGridView inside the RadDiagramShape? Given that my RadDiagramShape is in the RadDiagramContainerShape.

    2) How can I change the background color of the RadGridView instead of black color?

    3) How can I remove the first default column of the RadGridView?

    Hope that supports will be provided soon as it is in urgent.

    Thank you
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 21 Feb 2013 Link to this post

    Hi Vivian,

    I will answer your questions in the following order:
    1. Please note that the Content property of the RadDiagramShape is of type object and you can easily add a RadGridView control. Keep in mind that (if you are not using an MVVM approach) we recommend defining all elements of the RadDiagram in XAML (rather than in code behind).
    2. Regarding your second question you can find detailed description about styling the RadGridView control. Please refer to this article.
    3. Also, in our documentation you can read this article - setting the RowIndicatorVisibility property to Collapsed should do the job.

    Please take a look at the attached project and let me know if it works for you.

    Kind regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top