DataGrid SelectionChanged Event

Oct 2, 2009 at 4:07 PM
I have a hierarchical set of DataGrid's (DataGrid contained within the
DataGrid.RowDetailsTemplate) that's about three levels deep and each
DataGrid defines a SelectionChanged event.

The issue I'm having is that SelectionChanged events for a parent
DataGrid are fired after the SelectionChanged event for the child (sub)
DataGrid. I need some way to know that which selection caused which event.


Thanks,

Bill
Oct 2, 2009 at 9:53 PM
I set e.Handled = true to solve this.

On 10/2/2009 10:07 AM, wpmccormick wrote:
>
>
> From: wpmccormick
>
> I have a hierarchical set of DataGrid's (DataGrid contained within the
> DataGrid.RowDetailsTemplate) that's about three levels deep and each
> DataGrid defines a SelectionChanged event.
>
> The issue I'm having is that SelectionChanged events for a parent
> DataGrid are fired after the SelectionChanged event for the child (sub)
> DataGrid. I need some way to know that which selection caused which event.
>
>
> Thanks,
>
> Bill
>
> Read the full discussion online
> <http://wpf.codeplex.com/Thread/View.aspx?ThreadId=70825&ANCHOR#Post241314>.
>
> To add a post to this discussion, reply to this email
> ([email removed]
> <mailto:[email removed]?subject=[wpf:70825]>)
>
> To start a new discussion for this project, email
> [email removed] <mailto:[email removed]>
>
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe or change your settings
> <https://wpf.codeplex.com/subscriptions/thread/project/edit> on
> codePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at codeplex.com
>