private void datatb_MouseDoubleClick(object sender, MouseButtonEventArgs e) { TestBranchViewModel vm = this.DataContext as TestBranchViewModel; vm.IsDoubleClick = true; }
public TestBranchList(TestBranchViewModel vm) { InitializeComponent(); this.DataContext = vm; }