コード例 #1
0
        protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
        {
            DisconnectedUIElementCollection children = new DisconnectedUIElementCollection(this);

            children.CollectionChanged += new NotifyCollectionChangedEventHandler(OnChildrenCollectionChanged);
            return(children);
        }
コード例 #2
0
 internal void InitializeOwner(DisconnectedUIElementCollection owner)
 {
     _owner = owner;
 }
コード例 #3
0
 internal void InitializeOwner(DisconnectedUIElementCollection owner)
 {
     _owner = owner;
 }
コード例 #4
0
 protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
 {
     DisconnectedUIElementCollection children = new DisconnectedUIElementCollection(this);
     children.CollectionChanged += new NotifyCollectionChangedEventHandler(OnChildrenCollectionChanged);
     return children;
 }