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

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

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