Esempio n. 1
0
        protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
        {
            DisconnectedUIElementCollection children = new DisconnectedUIElementCollection(this);

            children.CollectionChanged += new NotifyCollectionChangedEventHandler(OnChildrenCollectionChanged);
            return(children);
        }
 internal void InitializeOwner(DisconnectedUIElementCollection owner)
 {
     _owner = owner;
 }
 internal void InitializeOwner(DisconnectedUIElementCollection owner)
 {
     _owner = owner;
 }
Esempio n. 4
0
 protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
 {
     DisconnectedUIElementCollection children = new DisconnectedUIElementCollection(this);
     children.CollectionChanged += new NotifyCollectionChangedEventHandler(OnChildrenCollectionChanged);
     return children;
 }