Exemplo n.º 1
0
        private static void OnItemsSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PrimitiveTypeCollectionControl primitiveTypeCollectionControl = o as PrimitiveTypeCollectionControl;

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

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