Which of your controls are suitable for MVVM?

2 posts, 0 answers
  1. Kristoffer
    Kristoffer avatar
    158 posts
    Member since:
    Dec 2012

    Posted 15 Jan 2013 Link to this post


    We are currently implementing a piece of software where we use the MVVM pattern. Most of your demos are mostly implemented in code-behind. Hence, it becomes hard to know if they are suitable for MVVM.

    Can you please provide a list of which of your RAD controls are suitable for MVVM? E.g. RadDiagram?
  2. Petar Mladenov
    Petar Mladenov avatar
    3055 posts

    Posted 16 Jan 2013 Link to this post

    Hello Kristoffer,

    Actually most of our components are MVVM friendly and we are always trying to improve our demos. You can take as an example RadGridView demos, or RadScheduleView demos, RadTreeView demos etc. 

    As for RadDiagram, it is MVVM friendly two. You can bind its GraphSource property to ObservableGraphSourceBase and this will enable two-way databinding scenarios. Furthermore, since MVVM refers not only to binding a source collection, RadDiagram provides also:

    • ShapeTemplate
    • ShapeTemplateSelector
    • ShapesEditTemplateSelector
    • ConnectionTemplate
    • ConnectionTemplateSelector
    • ConnectionsEditTemplateSelector
    • ShapeStyleSelector
    • ConnectionStyleSelector

    You can elaborate more on your specific MVVM scenario and we will be glad to assist you configure your RadControls.

    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top