Inheritance: System.Windows.Controls.ContentControl
Esempio 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);
            }
        }
Esempio 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);
            }
        }