Synchronizing selection when items are not expanded

Grids for WPF Forum

Posted 6 years ago by John Dunn
Version: 17.2.0665
Avatar

The elements in my TreeListBox can be selected through another mechanism. If the TreeListBox elements are currently visible the selected state is synchronized via the IsSelectedPath property without any issue. The problem occurs if I select items using the other mechanism before I've expanded the TreeListBox - if I then expand the items are not show selected and the 2 selection concepts are out of sync. Is there something I need to do to force the sync of selection state before things are expanded?

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi John,

Can you make a new simple sample project that shows this happening and send it to our support address?  In your email, reference this thread.  Please remove the bin/obj folders of what you send and rename the .zip file extension so it doesn't get spam blocked.  We'll debug with your sample project and will use it to verify that any changes we make properly fix the problem for you.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.