public CategoryContainerItemAutomationPeer( ModelCategoryEntry item, CiderCategoryContainer container, CategoryListAutomationPeer parentAutomationPeer) : base(item, parentAutomationPeer) { _coreLogic = new CategoryContainerAutomationPeer(container, this); _coreLogic.AddFocusEvents(); }
// <summary> // Creates a CategoryContainerAutomationPeer that can be returned for CategoryContainers // belonging to a CategoryList control // </summary> // <param name="category">CategoryEntry instance used by ItemsControl</param> // <param name="container">Container to automate</param> // <param name="parentAutomationPeer">Parent AutomationPeer</param> // <returns>Instance of CategoryContainerAutomationPeer that can be returned for CategoryContainers // belonging to a CategoryList control</returns> public static ItemAutomationPeer CreateItemAutomationPeer(ModelCategoryEntry category, CiderCategoryContainer container, CategoryListAutomationPeer parentAutomationPeer) { return(new CategoryContainerItemAutomationPeer(category, container, parentAutomationPeer)); }
// <summary> // Creates a CategoryContainerAutomationPeer that can be returned for CategoryContainers // belonging to a CategoryList control // </summary> // <param name="category">CategoryEntry instance used by ItemsControl</param> // <param name="container">Container to automate</param> // <param name="parentAutomationPeer">Parent AutomationPeer</param> // <returns>Instance of CategoryContainerAutomationPeer that can be returned for CategoryContainers // belonging to a CategoryList control</returns> public static ItemAutomationPeer CreateItemAutomationPeer(ModelCategoryEntry category, CiderCategoryContainer container, CategoryListAutomationPeer parentAutomationPeer) { return new CategoryContainerItemAutomationPeer(category, container, parentAutomationPeer); }