which event fires when SelectObject is changed?

Grids for WPF Forum

Posted 10 years ago by Caloni Franco
Version: 14.1.0601
Avatar

Why there is a SelectedObjectsChanged event, but there isn't an event SelectedObjectChanged?

Ask this because when I set the SelectObject property the SelectedObjectsChanged doesn't fire, but there isn't a SelectedObjectChanged, so: which Event fires when the the SelectObject is changed? thanks

Comments (2)

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

Hello,

The SelectedObject property is more or less a wrapper for the SelectedObjects property.  It will set SelectedObjects to an object array containing the SelectedObject.  That being said, SelectedObjectsChanged event should have been firing.  But due to how an 'if' block was configured related to synchronization of those two properties, the event wasn't firing in that case.  It was only firing if you set SelectedObjects instead of SelectedObject.  We've fixed that for the next maintenance release.  In the meantime you can work around the problem by setting SelectedObjects instead.


Actipro Software Support

Posted 10 years ago by Caloni Franco
Avatar

ok, thanks

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

Add Comment

Please log in to a validated account to post comments.