Esempio n. 1
0
		protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
		{
			notifyingChildren = new NotifyingUIElementCollection(this, logicalParent);
			ChildrenCreated.Raise(this);

			return notifyingChildren;
		}
Esempio n. 2
0
        protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
        {
            //<function summary>
            // Override the CreateUIElementCollection method
            // Assign notifyingChildren to the Collection associated with the logicalParent
            // Raise the event handler ChildrenCreated
            //</function summary>
            notifyingChildren = new NotifyingUIElementCollection(this, logicalParent);
            ChildrenCreated.Raise(this);

            return(notifyingChildren);
        }