private void ExecutedAutoMap(object target, ExecutedRoutedEventArgs e)
        {
            ImportMappingPage page = target as ImportMappingPage;

            if (page != null)
            {
                page.DoAutoMap();
            }
        }
        private void ExecutedUnmapField(object target, ExecutedRoutedEventArgs e)
        {
            ImportMappingPage page = target as ImportMappingPage;

            if (page != null)
            {
                page.UnmapSelectedMapping();
            }
        }
        private void ExecutedUnmapAll(object target, ExecutedRoutedEventArgs e)
        {
            ImportMappingPage page = target as ImportMappingPage;

            if (page != null)
            {
                page.UnmapAllMappings();
            }
        }
        private void CanExecuteUnmapField(object target, CanExecuteRoutedEventArgs e)
        {
            ImportMappingPage page = target as ImportMappingPage;

            e.CanExecute = false;

            if (page != null)
            {
                e.CanExecute = lvwMappings.SelectedItem != null;
            }
        }
        private void CanExecuteAutoMap(object target, CanExecuteRoutedEventArgs e)
        {
            ImportMappingPage page = target as ImportMappingPage;

            e.CanExecute = true;
        }