private void MenuItem_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            var vm = DataContext as EntityViewModel;
            var attributesPanelViewModel = new EntityAttributesPanelViewModel(vm.Attributes);
            var popup = new EntityAttributesPanel(attributesPanelViewModel);

            popup.ShowDialog();
        }
 public EntityAttributesPanel(EntityAttributesPanelViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }