Inheritance: System.Windows.Controls.UIElementCollection, INotifyCollectionChanged
Exemple #1
0
        /// <summary>
        ///     Creates a disconnected UIElement collection.
        /// </summary>
        protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
        {
            var children = new DisconnectedUIElementCollection(this);

            children.CollectionChanged += OnChildrenCollectionChanged;
            return(children);
        }
Exemple #2
0
        /// <summary>
        /// Creates a disconnected UIElement collection.
        /// </summary>
        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;
 }
Exemple #4
0
 /// <summary>
 ///     Creates a disconnected UIElement collection.
 /// </summary>
 protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
 {
     var children = new DisconnectedUIElementCollection(this);
     children.CollectionChanged += OnChildrenCollectionChanged;
     return children;
 }
 internal void InitializeOwner(DisconnectedUIElementCollection owner)
 {
     _owner = owner;
 }
 /// <summary>
 /// Creates a disconnected UIElement collection.
 /// </summary>
 protected override sealed UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
 {
     DisconnectedUIElementCollection children = new DisconnectedUIElementCollection(this);
     children.CollectionChanged += new NotifyCollectionChangedEventHandler(OnChildrenCollectionChanged);
     return children;
 }