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
|
I might be missing the boat but I think you might have a bug with Data binding SelectedObject. The behavior can be reproduced with slight changes to sample app QuickStart SelectedObject. Add this to SelectedObject.xaml:
<Button Grid.Row="3" HorizontalAlignment="Left" Margin="105,26,0,10" And make SelectedObject.xaml.cs look like this: ------------- using Mindscape.WpfPropertyGrid.SampleData; namespace QuickStart Persons Foo; public SelectedObject() #region Attaching the Person object TestGrid.SelectedObject = Person.Alice; #endregion Foo=new Persons(); private void button1_Click(object sender, System.Windows.RoutedEventArgs e) When I run this and click the button, the button's text always displays the expected value, but the PropertyGrid only shows Alice once and then is blank from there on out. kd |
|
|
Thanks for reporting this. This was a bug in 2.0 which has since been fixed. If you grab the latest nightly build (retail edition from the store, trial edition from the Downloads page) then you should find that it is now working -- let us know if not. |
|