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, I've been able to use the PropertyGrid for simple properties, but can't get collections to work properly. I've put together an isolated example of what I'm trying to show on screen: XAML <Window x:Class="PropertyGridTest.MainWindow" Code Behind: private void Window_Loaded(object sender, RoutedEventArgs e) Class A Definition: public class ClassA What I see on screen: http://www.forumimagecodes.com/images/coz0391nmbiitorkjn6.png However, clicking the "+" button doesn't add an item into the list. Can you tell me how to do that? I'm able to send the example .sln through. |
|
|
For anyone else having trouble, switching to ObservableCollections fixed it, e.g.: public class ClassCCollection : ObservableCollection<ClassC> |
|