Exemple #1
0
        private static void OnItemContainerStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemContainerStyleChanged(e.NewValue as Style);
        }
Exemple #2
0
        private static void OnItemTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemTemplateSelectorChanged(e.NewValue as DataTemplateSelector);
        }
Exemple #3
0
        private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemsSourceChanged(e.NewValue as IEnumerable);
        }