How can I use Propertygrid together with mvvm

Grids for WPF Forum

Posted 12 years ago by Andrew
Version: 12.2.0570
Avatar

Hello, I would like to know. How can I use Propertygrid together with mvvm?
For example.
In ViewModel I would like to have a collection of properties to that I could attach Propertigrid.

Comments (1)

Answer - Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Andrew,

The PropertyGrid can be populated several ways.  Check out the "Data Layer / Populating Items" topic in the documentation that comes with the product as that walks through the ways.  Most people just use the SelectedObject(s) properties to populate everything.  But you can use ItemsSource as well if you follow the steps in that topic.


Actipro Software Support

The latest build of this product (v24.1.3) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.