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
|
Version 6.0.2311.22771
I'm struggling a bit with the way the SelectionChanged event works in the DataGrid. When I use CTRL+A to select all the items or hold the Shift key and select a range of items in the DataGrid, a SelectionChanged event is fired for every single item. The event arguments (System.Windows.Controls.SelectionChangedEventArgs) allow for a collection of items added, removed, etc. Why can't I get a single event with multiple items listed in the added, removed, etc. member collections off the event arguments? Perhaps there is another way to know when all the selection changes have been completed/applied. If there is, would you please let me know how. Note: SelectionMode="Extended" Thanks, Jared Fox |
|
|
Hello Jared, Thanks for pointing this out. I'll look at fixing this sometime this week. Jason Fauchelle |
|
|
Hello Jared In the next nightly build, the SelectionChanged event will only be raised once when a Select-All operation is performed. Jason Fauchelle |
|
|
Thanks! I'll check it out. |
|