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
|
We've been making some changes to the WPF Property Grid recently and one of these has resulted in a minor breaking change. This will affect you if you are using the BuiltInEditorStyle feature to customise the appearance of the standard editors, and you upgrade to a nightly numbered 20080802 or above. The symptom is that during window or page load, you get a XamlParseException with the message "Cannot add element to 'BuiltInEditorStyles'; the property value is null." The line number points to a BuiltInEditorStyle element. The solution is to add a <ms:BuiltInEditorStyleCollection> tag around your list of BuiltInEditorStyle elements. That is, you will need to change this: <ms:PropertyGrid.BuiltInEditorStyles> <ms:PropertyGrid.BuiltInEditorStyles> We apologise for any inconvenience this causes. We're looking into whether we can restore compatibility with existing customer XAML. The reason for making this change is to allow BuiltInEditorStyles to be included in a grid style, so that you can package up a customised grid appearance *and* a set of editor customisations, and apply them atomically. We'll post more about this on the blog in the near future. |
|