This is a migrated thread and some comments may be shown as answers.

Disappearing Properties

1 Answer 38 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Rik
Top achievements
Rank 1
Rik asked on 20 Dec 2011, 03:33 PM
I have discovered what I believe is a bug in PropertyGrid.

Here is a simplified explanation of the issue. 

I have a MainWindow that has a PropertyGrid that has its Item property bound to a CurrentWidget.  I have a ListBox that has its ItemSource bound to a Widgets collection and its SelectedItem bound to CurrentWidget (TwoWay).

I have a MainWindowViewModel that has a CurrentWidget property and a Widgets collection (Observable).

The Widget class just has four basic properties (ints, bools).

As you click through the Widgets in the ListBox (or arrow up/down), the properties of the selected widget are loaded into the PropertyGrid, but as you move through the items one less property is added to the PropertyGrid until the property count is zero and then it starts back at all of the properties and continues to work down to zero properties, etc. 

We have noticed that this is only happening when we have AutoGeneratePropertyDefinitions set to true (the default). 

I have created a small proof-of-concept application that isolates and illustrates the bug.  Please advise on how to get this to you guys.

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 20 Dec 2011, 04:09 PM
Hi Rik,

Please ask your license holder to add you as a license developer and then open a support ticket. Such support communication has higher priority and enables clients to attach files (up to 20MB).

All the best,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
PropertyGrid
Asked by
Rik
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or