« BindingNavigator for WPF (Part 1 - Creating) | Main | Windows Forms and WPF Interop: Sharing WPF Resources »



Feed You can follow this conversation by subscribing to the comment feed for this post.


could you post the entire source code?


This is a great post and I have it working but it breaks as soon as I have a control that utilizes multiple BindingNavigators (e.g. Tab Control that contains two UserControls each with a Binding Navigator). The behavior I am experiencing, is that the sender parameter on the OnAddRecord handler is always the parent grid of the BindingNavigator whose Add button was selected first. If I choose another tab exposing a different UserControl with BindingNavigator and select the Add button, the Sender is still the grid of the first tab and hence my DataContext is not what I am expecting. Any thoughts? Seems the static/cached RoutedUICommands are the issue.

The comments to this entry are closed.

IMPORTANT: This is archived - and quite likely outdated - content, only kept online for reference purposes

Please visit thinktecture.com for up-to-date technical content.