This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Howdy, Just downloaded the trial version and am trying to quickly determine whether or not this component is suitable for what we're trying to do. It looks like it can, but I just wanted to clarify one thing. I saw from the samples that you can have dynamic properties and you can also display collections, is it also possible to dynamically attach an object that along with regular properties has a collection of objects that could each be individually edited? Not sure if that's clear, so I'll try to explain more... Say you have two classes: //psuedocode class Pet
class Person If you attached the property grid to the person object, would it be able to somehow display a variable number of pet members, each of which could be expanded and edited? Similar to the way workphone and homephone is edited in the multiple demo (right side). If so, which sample is the best to work from to achieve this?
|
|
|
In the example you give, the PersonsPets list would be shown as an expandable property of the Person, something like: Name Bob (Pardon the old-skool ASCII art...! *grin*) You could replace the MyApp.Pet default display with something more meaningful by providing a TypeEditor with AllowExpand="True". You could suppress the + (add) and x (remove) buttons by setting AllowModifyCollections="False". I don't think any of the samples show collections of expandable objects, but the GridStyles sample shows a collection of strings (in the Accessories collection). |
|