Example #1
0
        static void OnItemsSourceChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            MyComboBox box = (MyComboBox)obj;

            box.PopulateInternalItems();
            box.AddUnknownItem();
        }
Example #2
0
        static void OnSelectedValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            MyComboBox box = (MyComboBox)obj;

            box.AddUnknownItem();
        }