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
|
Hi, Inspired by the templating sample dialogesque I have used it as a base for our own logic. I use a Dictionary with our custom objects as keys and bind it to the ItemSource of the propertygrid. Our custom object has a category property that is used to group the properties. Now I want to control the order of the groups. How can I do that? (A custom sorter would be optimal) BR Carsten |
|
|
Hi Carsten, See http://www.mindscape.co.nz/forums/Post.aspx?ThreadID=1596&PostID=3518 for info on this. The code sample assumes the CategoryAttribute but you should be able to adapt it to your custom objects as keys scenario. Let us know if you have any further questions on this! |
|
|
Hi Ivan, I figured out how to do group sorting. Take a look at what Bea Stollnitz has published here: http://www.beacosta.com/blog/?p=17 I used that for inspiration for my own group sorting. BR Carsten |
|
|
Gah! How did I miss that?! Thanks very much for the pointer -- I'll update my advice on this one! |
|