2 posts, 0 answers
  1. Martin
    Martin avatar
    3 posts
    Member since:
    Feb 2014

    Posted 24 Feb 2014 Link to this post

    could you make SelectedItems property as DependencyProperty? Why is this property marked as private?

    Thanks for your answers.
  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 27 Feb 2014 Link to this post


    Are you refering to RadPropertyGrid or RadGridView, as the former  control has a SelectedPropertyDefinitions property and the latter one has SelectedItems? However, both of them are not exposed as DependencyProperties, due to a framework limitation with binding to read-only collection dependency properties that we have encountered. They are not private, but they do not have public setters. This is a common good practice for collection properties, as they are not expected to change their value at runtime. Nevertheless, one can interact with them by modifying their items and their items' properties.

    Ivan Ivanov
Back to Top