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
|
If you have an easy TypeConverter which converts an bool to an string (true->"Yes" and false ->"No") you can select the value (Yes/No) in the property grid by the drop down box. With the winform property grid you can read "Yes" "No". Is it also possible with the wpf property grid ? |
|
|
Hello Mario, I believe this should work with the current nightly builds of the WPF Property Grid, which you can get from http://www.mindscape.co.nz/Products/WpfPropertyGrid/nightlybuilds.aspx. If not, let me know and I will look into it. |
|
|
Hi ivan,
it doesnt works in the nightly build . I use the WpfPropertyGridTrial-20080516.msi build.
When the WpfPropertyGrid will (completely) done ?
|
|
|
Hi Mario, Thanks for alerting us to this. We have reproduced the problem and it will be fixed in the next nightly build (builds numbered 20080521 or above, available from about 1800 GMT). One limitation of the fix is that it will only work if the custom type converter is attached to the property via TypeConverterAttribute; it will not work if the custom converter is supplied via ICustomTypeDescriptor. Let us know if this is a problem for you. Note also that the custom type converter must override GetStandardValuesSupported and GetStandardValues. I believe your type converter already handles this because Windows Forms also requires these methods to display a drop-down. When will the WPF Property Grid be "completely" done? Probably never *grin*. We will be continuing to enhance it on an ongoing basis, in response to customer requests and of course to fix bugs. We expect to release a v1.1 in the near future but we have not yet announced a date for that. |
|
|
Hi Ivan, thank you for helping. We will try the new nightly build on thursday. regards, Mario |
|