private void AddControlToExpander(GridTabBase tab, List <SceneSelectedEntity> shapeNodes) { _addedTabs.Add(tab); tab.SetParentGrid(this); tab.RefreshNode(new StackPanel(), shapeNodes, _viewInfo, _filteringTokens); var expanderTitle = tab.Title; var control = tab.Control; var expander = new Expander { Header = expanderTitle, Content = control, IsExpanded = true }; stackAllSections.Children.Add(expander); }
private static void RegisterConstraintsTab(string functionName1, string functionName2, GridTabBase tab) { DescriptorsFactory.Instance.RegisterConstraintsTab(functionName1, functionName2, tab); }
private static void RegisterFunctionTab(string functionName, GridTabBase tab) { DescriptorsFactory.Instance.RegisterFunctionTab(functionName, tab); }
private static void RegisterSelectionsTab(List <String> selectedObjects, GridTabBase tab) { DescriptorsFactory.Instance.RegisterSelectionsTab(selectedObjects, tab); }
private static void RegisterInterpreterTab <T>(GridTabBase tab) where T : AttributeInterpreterBase { DescriptorsFactory.Instance.RegisterInterpreterTab <T>(tab); }