void designerKernel_DesignItemLinkButtonDoubleClick(object sender, SingleDesignItemActionEventArgs e) { var tabItem=this.workTab.Items.Cast<TabItem>().FirstOrDefault(a => a.Uid == e.DesignItemInfo.LinkWorkspaceID.ToString()); if (tabItem == null) return; tabItem.IsSelected = true; }
void designerKernel_AddedDesignItem(object sender, SingleDesignItemActionEventArgs e) { //throw new NotImplementedException(); }
void designerKernel_DesignItemMouseRightClick(object sender, SingleDesignItemActionEventArgs e) { //throw new NotImplementedException(); }
void designerKernel_DesignItemSelected(object sender, SingleDesignItemActionEventArgs e) { viewModel.CurrentModelInfo = e.DesignItemInfo; }
private void designerKernel_DesignItemMouseDoubleClick(object sender, SingleDesignItemActionEventArgs e) { var designItemProperty = new DesignItemProperty(); designItemProperty.Owner = Application.Current.MainWindow; designItemProperty.ShowDialog(); }