public void OnRightClick(EvBase item, TreeViewItem tItem, ExplorerView view, MouseButtonEventArgs e) { return; tItem.ContextMenu = new ContextMenu(); tItem.ContextMenu.Items.Add(new MenuItem() { Header = item.Name, }); }
public void OnDoubleClick(EvBase item, TreeViewItem tItem, ExplorerView view, MouseButtonEventArgs e) { MessageBox.Show("Double Clicked"); }