Disappearing Properties

2 posts, 0 answers
  1. Rik
    Rik avatar
    5 posts
    Member since:
    Dec 2011

    Posted 20 Dec 2011 Link to this post

    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!
  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 20 Dec 2011 Link to this post

    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 >>
Back to Top