Trying to bind to a collection of objects that encapsulate parameters:
these are read dynamically at runtime, and each parameter could be of a different type. The collection (array) is then contained in another class.
If i bind to an instance of the 'parent' class the parameter collection shows up via the colleciton editor ui, however, the values are not updated on edit.
Since we are not really interested in the parent object, I have tried binding to the collection directly, but then the only properties I get are the ones from the collection object itself, like Count.
What am I missing here, what do I need to define/override for the grid to work with these?
Pointers to example code would be excellent! :)
public Parameter
{
string Name;
object Value;
}
If i bind to an instance of the 'parent' class the parameter collection shows up via the colleciton editor ui, however, the values are not updated on edit.
Since we are not really interested in the parent object, I have tried binding to the collection directly, but then the only properties I get are the ones from the collection object itself, like Count.
What am I missing here, what do I need to define/override for the grid to work with these?
Pointers to example code would be excellent! :)