private static void OnItemsSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;

            if (primitiveTypeCollectionControl != null)
            {
                primitiveTypeCollectionControl.OnItemsSourceChanged((IList)e.OldValue, (IList)e.NewValue);
            }
        }
        private static void OnTextChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;

            if (primitiveTypeCollectionControl != null)
            {
                primitiveTypeCollectionControl.OnTextChanged((string)e.OldValue, (string)e.NewValue);
            }
        }