/// <summary> /// Displays currently selected Association class in Properties window. /// </summary> /// <param name="c">association class</param> private void DisplaySelectedAssociationClass(PIM_AssociationClass c) { currentGrid = associationClassGrid; associationClassGrid.Display(c, MainWindowRef); associationClassGrid.Visibility = Visibility.Visible; }
/// <summary> /// Displays Association class /// </summary> /// <param name="a"></param> /// <param name="mv"></param> public void Display(PIM_AssociationClass a, MainWindow mv) { pimClassGrid.Display(a, "Association", mv); pimClassGrid.scrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Disabled; ends.Display(a.Association.Ends, a.Controller.DiagramController.ModelController); }