public CategoryContainerItemAutomationPeer( ModelCategoryEntry item, CiderCategoryContainer container, CategoryListAutomationPeer parentAutomationPeer) : base(item, parentAutomationPeer) { _coreLogic = new CategoryContainerAutomationPeer(container, this); _coreLogic.AddFocusEvents(); }
protected override ItemAutomationPeer CreateItemAutomationPeer(object item) { ItemAutomationPeer peer = CategoryContainerAutomationPeer.CreateItemAutomationPeer( item as ModelCategoryEntry, _control.ItemContainerGenerator.ContainerFromItem(item) as CiderCategoryContainer, this); //Add each item to the children's list _children.Add(peer); return(peer); }
protected override List <AutomationPeer> GetChildrenCore() { _children = new List <AutomationPeer>(); if (_container != null) { CategoryContainerAutomationPeer.AddCategoryEditors(_children, VisualTreeUtils.GetNamedChild <ItemsControl>(_container, "PART_AdvancedCategoryEditors"), Resources.PropertyEditing_AdvancedCategoryEditors); CategoryContainerAutomationPeer.AddCategoryProperties(_children, VisualTreeUtils.GetNamedChild <ItemsControl>(_container, "PART_AdvancedPropertyList")); } //Add focus events for Subproperty editor foreach (AutomationPeer peer in _children) { PropertyContainerAutomationPeer pcAutomationPeer = peer as PropertyContainerAutomationPeer; if (pcAutomationPeer != null) { pcAutomationPeer.AddFocusEvents(); } } return(_children); }
protected override string GetHelpTextCore() { return(CategoryContainerAutomationPeer.GetHelpTextCore()); }
protected override string GetClassNameCore() { return(CategoryContainerAutomationPeer.GetClassNameCore()); }
public CategoryContainerStandAloneAutomationPeer(CiderCategoryContainer container) : base(container) { _coreLogic = new CategoryContainerAutomationPeer(container, this); _coreLogic.AddFocusEvents(); }
public CategoryContainerStandAloneAutomationPeer(CiderCategoryContainer container) : base(container) { _coreLogic = new CategoryContainerAutomationPeer(container, this); _coreLogic.AddFocusEvents(); }
public CategoryContainerItemAutomationPeer( ModelCategoryEntry item, CiderCategoryContainer container, CategoryListAutomationPeer parentAutomationPeer) : base(item, parentAutomationPeer) { _coreLogic = new CategoryContainerAutomationPeer(container, this); _coreLogic.AddFocusEvents(); }